1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2022-04-04 19:26:43 +02:00
parent ddb8b16f04
commit 95379c85dd
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -22,7 +22,15 @@ location __PATH__/ {
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
}
location ~ ^__PATH__/(\.|Core|Specific) {
#location ~ ^__PATH__/(\.|Core|Specific) {
# deny all;
#}
location ~ ^__PATH__/(\.ht|Core|Specific|config) {
deny all;
return 404;
}
}