From c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Sun, 9 Apr 2017 16:56:56 +0200 Subject: [fix] bug install file --- conf/nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'conf') diff --git a/conf/nginx.conf b/conf/nginx.conf index a6769a7..915061d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,11 @@ location __PATH__ { + alias __FINALPATH__/live/public; + + if ($scheme = http) { + rewrite ^ https://$server_name$request_uri? permanent; + } + + try_files $uri @proxy; } -- cgit v1.2.3-70-g09d2