diff --git a/conf/nginx.conf b/conf/nginx.conf index f323d49..b49858f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,11 +1,12 @@ -location PATHTOCHANGE/admin { +location PATHTOCHANGE { alias ALIASTOCHANGE; + proxy_pass http://127.0.0.1:9091PATHTOCHANGE/admin + ; if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } index index.php index.html index.htm; - try_files $uri $uri/ index.php; default_type text/html; location ~ [^/]\.php(/|$) {