mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
Missing " / "and "fastcgi_param SCRIPT_FILENAME $request_filename;"
Nginx gives error on reload if "/" is not present(the nginx will never load after reboot) .If " / " is added nginx will give blank page . So this line need to be added to make it work again" fastcgi_param SCRIPT_FILENAME $request_filename;" .
This commit is contained in:
parent
30379e5832
commit
a27ac0744d
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
location YNH_WWW_PATH {
|
||||
location YNH_WWW_PATH / {
|
||||
|
||||
# Path to source
|
||||
alias YNH_WWW_ALIAS/ ;
|
||||
|
@ -18,6 +18,7 @@ location YNH_WWW_PATH {
|
|||
include fastcgi_params;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
|
||||
# .htaccess file from Hubzilla converted using http://winginx.com/en/htaccess
|
||||
|
|
Loading…
Add table
Reference in a new issue