You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
681 B
29 lines
681 B
4 months ago
|
server {
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
server_name localhost;
|
||
|
|
||
|
root /usr/share/nginx/html;
|
||
|
access_log /var/log/nginx/host.access.log main;
|
||
|
|
||
|
location / {
|
||
|
root /usr/share/nginx/html;
|
||
|
index index.html index.htm;
|
||
|
}
|
||
|
|
||
|
location /cgi-bin/ {
|
||
|
gzip off;
|
||
|
fastcgi_pass unix:/var/run/fcgiwrap.socket;
|
||
|
fastcgi_index index.pl;
|
||
|
fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name;
|
||
|
include fastcgi_params;
|
||
|
}
|
||
|
|
||
|
error_page 404 /404.html;
|
||
|
|
||
|
error_page 500 502 503 504 /50x.html;
|
||
|
location = /50x.html {
|
||
|
root /usr/share/nginx/html;
|
||
|
}
|
||
|
}
|