Corriger le routage Nginx vers PHP
This commit is contained in:
parent
3eb0cc5f16
commit
72b68793ef
2 changed files with 9 additions and 8 deletions
|
|
@ -2,12 +2,13 @@ location __PATH__/ {
|
|||
alias __INSTALL_DIR__/public/;
|
||||
index index.php;
|
||||
client_max_body_size 260M;
|
||||
try_files $uri $uri/ __PATH__/index.php?$query_string;
|
||||
try_files $uri $uri/ @__APP__;
|
||||
location ~ /\. { deny all; }
|
||||
location = __PATH__/index.php {
|
||||
}
|
||||
|
||||
location @__APP__ {
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME __INSTALL_DIR__/public/index.php;
|
||||
fastcgi_param HTTP_PROXY "";
|
||||
fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ id = "globinours"
|
|||
name = "Globinours"
|
||||
description.en = "Lightweight animal shelter management"
|
||||
description.fr = "Gestion légère et complète pour refuges animaliers"
|
||||
version = "1.0.0-rc.3~ynh4"
|
||||
version = "1.0.0-rc.3~ynh5"
|
||||
maintainers = ["OverSu"]
|
||||
|
||||
[upstream]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue