add fcgiwrap to the installation
This commit is contained in:
parent
68d9f1e56e
commit
a3211d897e
2 changed files with 9 additions and 3 deletions
|
@ -14,7 +14,7 @@ You also have to install the dependencies, in Debian:
|
||||||
|
|
||||||
.in +4n
|
.in +4n
|
||||||
.EX
|
.EX
|
||||||
apt install nginx libcgi-pm-perl
|
apt install nginx libcgi-pm-perl fcgiwrap
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
.SH INSTALLATION
|
.SH INSTALLATION
|
||||||
|
@ -63,6 +63,10 @@ permissions so the user that is running nginx (usually)
|
||||||
.I www-data
|
.I www-data
|
||||||
can write on it.
|
can write on it.
|
||||||
|
|
||||||
|
.EX
|
||||||
|
chown www-data:www-data files
|
||||||
|
.EE
|
||||||
|
|
||||||
.SH TROUBLESHOOTING
|
.SH TROUBLESHOOTING
|
||||||
|
|
||||||
.SS 502 Bad Gateway
|
.SS 502 Bad Gateway
|
||||||
|
|
|
@ -12,7 +12,7 @@ It runs in a Web server (i.e. nginx) with a CGI handler (i.e. fcgiwrap)
|
||||||
|
|
||||||
You also have to install the dependencies, in Debian:
|
You also have to install the dependencies, in Debian:
|
||||||
|
|
||||||
apt install nginx libcgi-pm-perl
|
apt install nginx libcgi-pm-perl fcgiwrap
|
||||||
|
|
||||||
INSTALLATION
|
INSTALLATION
|
||||||
============
|
============
|
||||||
|
@ -42,7 +42,7 @@ recommended. The following configuration should work for nginx:
|
||||||
}
|
}
|
||||||
|
|
||||||
The document root will be /var/www/lainsafe (be sure to change it in
|
The document root will be /var/www/lainsafe (be sure to change it in
|
||||||
*root* and *fastcgi\_param SCRIPT\_FILENAME if you\'re going to use
|
*root* and *fastcgi_param SCRIPT_FILENAME if you\'re going to use
|
||||||
another directory*
|
another directory*
|
||||||
|
|
||||||
You also have to give the .cgi files +x permissions:
|
You also have to give the .cgi files +x permissions:
|
||||||
|
@ -53,6 +53,8 @@ And also, create the \"files\" directory manually, and give it
|
||||||
permissions so the user that is running nginx (usually) *www-data* can
|
permissions so the user that is running nginx (usually) *www-data* can
|
||||||
write on it.
|
write on it.
|
||||||
|
|
||||||
|
chown www-data:www-data files
|
||||||
|
|
||||||
TROUBLESHOOTING
|
TROUBLESHOOTING
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue