1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lufi_ynh.git synced 2024-09-03 19:36:28 +02:00

Fix the issue alias_traversal

This commit is contained in:
Kayou 2019-03-27 01:10:33 +01:00
parent 92da64325c
commit 60a742509e
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126

View file

@ -1,4 +1,5 @@
location __PATH__ {
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}