1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpback_ynh.git synced 2024-09-03 19:56:34 +02:00
This commit is contained in:
Salamandar 2024-02-20 05:40:06 +01:00 committed by GitHub
commit b6bd4aecb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,10 +6,14 @@ location __PATH__/ {
index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
#client_max_body_size 50M;
try_files $uri $uri/ index.php;
location __INSTALL_DIR__/public {}
location __INSTALL_DIR__/favicon.ico {}
rewrite ^(.*)$ __INSTALL_DIR__/index.php last;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 50M;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;