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:
parent
5fa94a98ff
commit
dcee5e6b92
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue