1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yeswiki_ynh.git synced 2024-09-03 18:05:56 +02:00

Merge branch 'master' into testing

This commit is contained in:
Éric Gaspar 2023-09-07 11:32:48 +02:00
commit e4559f7538

View file

@ -10,6 +10,13 @@ location __PATH__/ {
client_max_body_size 500M; client_max_body_size 500M;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
# private folder for YesWiki
location ~* /(.*/)?private/ {
deny all;
return 403;
}
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;