mirror of
https://github.com/YunoHost-Apps/proxitok_ynh.git
synced 2024-09-03 20:15:53 +02:00
Fix
This commit is contained in:
parent
ad23872fec
commit
2803aeb924
2 changed files with 3 additions and 5 deletions
|
@ -6,8 +6,10 @@ location __PATH__/ {
|
|||
|
||||
index index.php;
|
||||
|
||||
try_files $uri @rewriteapp;
|
||||
# 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 ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
@ -19,7 +21,3 @@ location __PATH__/ {
|
|||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
}
|
||||
|
||||
location @rewriteapp {
|
||||
rewrite ^(.*)$ /index.php/$1 last;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue