mirror of
https://github.com/YunoHost-Apps/shaarli_ynh.git
synced 2024-09-03 20:26:10 +02:00
nginx fix
This commit is contained in:
parent
6ca0d9e0e6
commit
9db697ca65
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ location __PATH__ {
|
|||
# Example PHP configuration (remove if not used)
|
||||
index index.php;
|
||||
try_files $uri $uri/ index.php;
|
||||
client_max_body_size 50M;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock;
|
||||
|
|
Loading…
Reference in a new issue