mirror of
https://github.com/YunoHost-Apps/bludit_ynh.git
synced 2024-09-03 18:06:13 +02:00
Update nginx.conf
This commit is contained in:
parent
d8191017f2
commit
355fb8d83f
1 changed files with 3 additions and 3 deletions
|
@ -11,16 +11,16 @@ location __PATH__/ {
|
|||
|
||||
index index.php;
|
||||
|
||||
if (!-e $request_filename) { rewrite ^ __PATH__/index.php last; }
|
||||
#if (!-e $request_filename) { rewrite ^ /bludit/index.php last; }
|
||||
|
||||
#try_files $uri $uri/ /bludit//bludit/index.php?$args;
|
||||
try_files $uri $uri/ /bludit//bludit/index.php?$args;
|
||||
|
||||
location __PATH__/bl-content/databases/ { deny all; }
|
||||
location __PATH__/bl-content/workspaces/ { deny all; }
|
||||
location __PATH__/bl-content/pages/ { deny all; }
|
||||
location __PATH__/bl-kernel/*.php { deny all; }
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
#try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
|
Loading…
Reference in a new issue