mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
Trying to fix subpath
This commit is contained in:
parent
4498ce6d9e
commit
f7e82a8e7d
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location ^~ __PATH__/ {
|
||||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/public/;
|
||||
|
@ -15,7 +15,7 @@ location ^~ __PATH__/ {
|
|||
#client_max_body_size 50M;
|
||||
|
||||
try_files $uri $uri/ @monica;
|
||||
location ~ \.php {
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue