mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Add proxy_set_header X-Scheme https;
The X-scheme header seems to be required for Octoprint to correctly use Websockets.
This commit is contained in:
parent
7420ff6e3d
commit
616ca0a0b8
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2021/06/16
|
||||
## Version 2021/09/05
|
||||
# make sure that your dns has a cname set for octoprint and that your octoprint container is not using a base url
|
||||
|
||||
server {
|
||||
|
@ -35,6 +35,7 @@ server {
|
|||
set $upstream_port 80;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
proxy_set_header X-Scheme https;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue