mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
Update znc.subdomain.conf.sample
I've successfully port forwarded the IRC port for znc but this won't work without the addition of the stream section in nginx.conf To be very clear this addition is not for http but to proxy the irc port through swag. Nginx will accept port 6502 on any subdomain and pass it through to znc, My reasoning for doing it is to avoid configuring ssl certificates in znc. https://wiki.znc.in/Reverse_Proxy https://nginx.org/en/docs/stream/ngx_stream_core_module.html
This commit is contained in:
parent
77a6dee131
commit
2d2a4efaa4
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
## Version 2020/12/09
|
||||
# make sure that your dns has a cname set for znc
|
||||
|
||||
# To additionally port foward the irc port uncomment the stream section in /config/nginx/nginx.conf, Add SSL port 6502 and append these lines (without #) to znc.conf:
|
||||
#TrustedProxy = 127.0.0.1
|
||||
#TrustedProxy = ::1
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue