diff --git a/conf/nginx.conf b/conf/nginx.conf index 96ad003..2078c52 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -location __PATH__ { +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; +location __PATH__/ { # Path to source alias __FINALPATH__/ ;