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

18 lines
289 B
Nginx Configuration File

# pass everything to gochan via HTTP
# this should go in /etc/nginx/sites-enabled. Change as necessary.
server {
listen 80;
listen[::]:80;
server_name localhost;
client_max_body_size 5M;
location / {
proxy_pass http://127.0.0.1:8080;
}
location ~ /\.ht {
deny all;
}
}