Modification pour Shaarli
This commit is contained in:
@@ -13,9 +13,15 @@ server {
|
|||||||
log_not_found off;
|
log_not_found off;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files _ /index.php$is_args$args;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ index\.php$ {
|
||||||
|
try_files $uri =404;
|
||||||
|
fastcgi_split_path_info ^(index.php)(/.+)$;
|
||||||
fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock;
|
fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock;
|
||||||
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user