use request_uri instead of uri
continuous-integration/drone/push Build is passing Details

master
Simon Bruder 2019-07-14 11:58:48 +00:00
parent 4a33067000
commit c719c1bb4b
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ http {
server_name ~^(?<subdomain>.+)\.@@TOR_DOMAIN@@$;
location / {
proxy_pass https://$subdomain.@@MAIN_DOMAIN@@$uri;
proxy_pass https://$subdomain.@@MAIN_DOMAIN@@$request_uri;
}
}
@ -33,7 +33,7 @@ http {
server_name @@TOR_DOMAIN@@;
location / {
proxy_pass https://@@MAIN_DOMAIN@@$uri;
proxy_pass https://@@MAIN_DOMAIN@@$request_uri;
}
}
}