diff --git a/conf/nginx.conf b/conf/nginx.conf index 5ba5202..7aaa33a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,11 +1,12 @@ location PATHTOCHANGE { alias ALIASTOCHANGE; - proxy_pass http://DOMAINNAMEPATHTOCHANGE/admin; if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } + rewrite ^ http://DOMAINNAMEPATHTOCHANGE/admin/ redirect; + index index.php index.html index.htm; default_type text/html;