From 220ed71febb877093a68db4963737e377d3228fa Mon Sep 17 00:00:00 2001 From: Thomas LEBEAU Date: Sun, 15 Jun 2014 22:43:38 +0200 Subject: [PATCH] update nginx conf --- conf/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(/|$) {