updated nginx config for php-fpm use
This commit is contained in:
parent
1a1b717716
commit
40b0ce2983
1
conf/extra_php-fpm.conf
Normal file
1
conf/extra_php-fpm.conf
Normal file
@ -0,0 +1 @@
|
||||
; Additional 'php.ini' parameters for this YunoHost package/application
|
||||
@ -6,7 +6,14 @@ location __PATH__/ {
|
||||
|
||||
index index.html;
|
||||
|
||||
try_files $uri /index.html;
|
||||
try_files $uri index.html;
|
||||
|
||||
location ~ \.php {
|
||||
fastcgi_param QUERY_STRING $query_string;
|
||||
fastcgi_param SCRIPT_NAME $script_name;
|
||||
# include fastcgi_params;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
}
|
||||
|
||||
# Include SSOWAT user panel
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user