1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/signaturepdf_ynh.git synced 2024-09-03 20:25:57 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2022-06-05 14:00:25 +02:00
parent c12d081448
commit 405416d91e
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -2,13 +2,13 @@
location __PATH__/ { location __PATH__/ {
# Path to source # Path to source
alias __FINALPATH__/public/ ; root __FINALPATH__/public/ ;
index index.php; index index.php;
client_max_body_size 50M; client_max_body_size 50M;
try_files $uri $uri/ index.php; try_files $uri $uri/ /index.php?$query_string;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;