1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-05 08:46:23 -07:00
gochan/gochan-fastcgi.nginx
2017-08-12 16:46:00 -07:00

19 lines
362 B
Nginx Configuration File

# pass everything to gochan via FastCGI
# this should go in /etc/nginx/sites-enabled. Change as necessary.
#
server {
listen 80;
server_name localhost;
location / {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.html;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}