add example nginx config, probably works
This commit is contained in:
parent
7727fc76f8
commit
bc81c8e251
12
contrib/configs/nginx/nntpchan
Normal file
12
contrib/configs/nginx/nntpchan
Normal file
@ -0,0 +1,12 @@
|
||||
# using srndv2 behind nginx with a prefix
|
||||
# make sure to set prefix=/nntpchan/ for section frontend in srnd.ini
|
||||
server {
|
||||
listen 80;
|
||||
location /nntpchan/ {
|
||||
client_max_body_size 50M;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
rewrite ^/nntpchan/(.*) /$1;
|
||||
proxy_pass http://[::1]:18000/;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user