Support websocket in caddy
This commit is contained in:
parent
f59387dbae
commit
1d0bf9e3f8
@ -21,6 +21,7 @@ http://{{ $host }}, https://{{ $host }} {
|
||||
proxy / {
|
||||
policy round_robin
|
||||
transparent
|
||||
websocket
|
||||
header_upstream Host {host}
|
||||
header_upstream X-Real-IP {remote}
|
||||
header_upstream X-Forwarded-For {remote}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user