1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

Update nginx.conf to protect against path traversal issue

This commit is contained in:
Alexandre Aubin 2020-10-25 11:04:46 +01:00 committed by GitHub
parent 4a8d93391e
commit c6f5a20121
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__ { location __PATH__/ {
# Path to source # Path to source
alias __FINALPATH__/www/ ; alias __FINALPATH__/www/ ;