mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-23 22:08:11 -05:00
install-reddit: Only bind the stunnel-internal port on localhost.
This prevents connections directly on that port from outside.
This commit is contained in:
@@ -370,7 +370,7 @@ frontend frontend
|
||||
mode http
|
||||
|
||||
bind 0.0.0.0:80
|
||||
bind 0.0.0.0:8080
|
||||
bind 127.0.0.1:8080
|
||||
|
||||
timeout client 10000
|
||||
option forwardfor except 127.0.0.1
|
||||
|
||||
Reference in New Issue
Block a user