mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-28 16:16:23 -07:00
Generate config.RandomSeed if one isn't provided in gochan.json Don't automatically fail if a board's path already exists, unless it isn't a directory Clean up SQL query strings with DBPREFIX replacer Separate the gochan.service file into separate files for each SQL DB type Enable the gochan.service in Vagrant and fix issue with it failing on restart fixes #19
18 lines
290 B
Nginx Configuration File
18 lines
290 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 12M;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8080;
|
|
}
|
|
|
|
|
|
location ~ /\.ht {
|
|
deny all;
|
|
}
|
|
}
|