already contains leading slash
This commit is contained in:
parent
84d31fed00
commit
191d97b2c2
|
@ -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 {
|
||||||
|
|
Reference in New Issue