mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-21 13:53:53 -07:00
code-server set host header
code-server now checks origin on web sockets: be40eca5d9
pass the host header to ensure that check does not fail
This commit is contained in:
parent
dc840ba44e
commit
58fd9937b1
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ server {
|
|||
set $upstream_port 8443;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue