mirror of
https://github.com/YunoHost-Apps/BicBucStriim_ynh.git
synced 2024-09-03 18:15:53 +02:00
Update nginx.conf
This commit is contained in:
parent
d33e3975c6
commit
13f3fba28c
1 changed files with 2 additions and 7 deletions
|
@ -5,6 +5,7 @@ location __PATH__/ {
|
|||
alias __FINALPATH__/;
|
||||
|
||||
index index.php;
|
||||
|
||||
rewrite ^/(__PATH__/img/.*)$ /$1 break;
|
||||
rewrite ^/(__PATH__/js/.*)$ /$1 break;
|
||||
rewrite ^/(__PATH__/style/.*)$ /$1 break;
|
||||
|
@ -17,14 +18,8 @@ location __PATH__/ {
|
|||
try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
||||
# Filename to be changed if dedicated php-fpm process is required
|
||||
# This is to be used INSTEAD of line above
|
||||
# Don't forget to adjust scripts install/upgrade/remove/backup accordingly
|
||||
#
|
||||
#fastcgi_pass unix:/var/run/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
|
|
Loading…
Add table
Reference in a new issue