mirror of
https://github.com/YunoHost-Apps/mineweb_ynh.git
synced 2024-09-03 19:45:54 +02:00
update
This commit is contained in:
parent
60db14ad74
commit
187b7f64a8
1 changed files with 12 additions and 10 deletions
|
@ -1,12 +1,14 @@
|
||||||
location / {
|
root __FINAL_PATH__/;
|
||||||
try_files $uri $uri/ /index.php?$args;
|
index index.php;
|
||||||
|
|
||||||
|
location __PATH__/ {
|
||||||
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
|
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
include /etc/nginx/fastcgi_params;
|
||||||
|
fastcgi_pass 127.0.0.1:9000;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location __PATH__/app/assets {
|
||||||
include /etc/nginx/fastcgi_params;
|
try_files /app/\$uri =404;
|
||||||
try_files $uri =404;
|
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
|
||||||
fastcgi_index index.php;
|
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue