already contains leading slash

This commit is contained in:
Karol Wypchlo 2021-07-09 13:59:31 +02:00
parent 84d31fed00
commit 191d97b2c2
1 changed files with 3 additions and 3 deletions

View File

@ -484,21 +484,21 @@ server {
} }
proxy_set_header Dnslink-Lookup ""; proxy_set_header Dnslink-Lookup "";
proxy_pass http://127.0.0.1/$dnslink/$request_uri; proxy_pass http://127.0.0.1/$dnslink$request_uri;
} }
location @base32_subdomain { location @base32_subdomain {
include /etc/nginx/conf.d/include/proxy-buffer; include /etc/nginx/conf.d/include/proxy-buffer;
include /etc/nginx/conf.d/include/proxy-pass-internal; include /etc/nginx/conf.d/include/proxy-pass-internal;
proxy_pass http://127.0.0.1/$base32_subdomain/$request_uri; proxy_pass http://127.0.0.1/$base32_subdomain$request_uri;
} }
location @hns_domain { location @hns_domain {
include /etc/nginx/conf.d/include/proxy-buffer; include /etc/nginx/conf.d/include/proxy-buffer;
include /etc/nginx/conf.d/include/proxy-pass-internal; include /etc/nginx/conf.d/include/proxy-pass-internal;
proxy_pass http://127.0.0.1/hns/$hns_domain/$request_uri; proxy_pass http://127.0.0.1/hns/$hns_domain$request_uri;
} }
location @purge { location @purge {