1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emoncms_ynh.git synced 2024-09-03 18:36:03 +02:00

Fix nginx config

This commit is contained in:
Salamandar 2024-07-10 17:29:23 +02:00
parent 440d750f6b
commit 318fd1148e

View file

@ -4,14 +4,18 @@ location __PATH__/ {
# Path to source
alias __INSTALL_DIR__/;
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
try_files $uri $uri;
}
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;
rewrite ^/(.*)$ /index.php?q=$1 last;
try_files $uri $uri/ index.php;
# 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)(/.*)$;