Merge pull request #375 from Starker3/patch-3

Add proxy_set_header X-Scheme https;
This commit is contained in:
Eric Nemchik 2021-09-15 11:22:04 -05:00 committed by GitHub
commit 4f9c905628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}