From c719c1bb4b37a97ff5240bd869f3d232f6ff26b8 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 14 Jul 2019 11:58:48 +0000 Subject: [PATCH] use request_uri instead of uri --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 743b02e..e5e0c16 100644 --- a/nginx.conf +++ b/nginx.conf @@ -22,7 +22,7 @@ http { server_name ~^(?.+)\.@@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; } } }