hi am trying to run pastebin through a reverse proxy subfolder using swag but i cant seam to get it to work
i have a custom network for swag and the pastebin container is on the same network ofc
all my other subfolders are working except this one
any help is appreciated
here is my conf
## Version 2021/03/30
# hastebin does not require a base url setting
location /hastebin {
return 301 $scheme://$host/hastebin/;
}
location ^~ /hastebin/ {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_app hastebin;
set $upstream_port 7777;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
rewrite /hastebin(.*) $1 break;
}