mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
Update code-server.subdomain.conf.sample
code-server subdomain showing blank page without these two lines
This commit is contained in:
parent
4bd10ca6a5
commit
3dd6c28040
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ server {
|
||||||
# enable for Authelia
|
# enable for Authelia
|
||||||
#include /config/nginx/authelia-location.conf;
|
#include /config/nginx/authelia-location.conf;
|
||||||
|
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
set $upstream_app code-server;
|
set $upstream_app code-server;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue