From 57245c3bf1302ca0dd02d451ac7b814e23d7d5c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Sun, 31 Mar 2019 18:44:32 +0200 Subject: [PATCH] add / in location --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index c8abe43..09d1d2e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location __PATH__ { +location __PATH__/ { alias __FINALPATH__/p/; if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent;