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

Update nginx.conf

This commit is contained in:
ericgaspar 2020-09-17 11:31:44 +02:00
parent 5fa94a98ff
commit dcee5e6b92
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -7,13 +7,8 @@ location __PATH__/ {
} }
index index.php; index index.php;
try_files $uri $uri/ /index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
if ($request_uri ~ "\/movim\/\?infos") {
return 403;
}
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_index index.php; fastcgi_index index.php;