Skip to content

Commit 4f9c905

Browse files
authored
Merge pull request #375 from Starker3/patch-3
Add proxy_set_header X-Scheme https;
2 parents 7420ff6 + 616ca0a commit 4f9c905

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

octoprint.subdomain.conf.sample

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2021/06/16
1+
## Version 2021/09/05
22
# make sure that your dns has a cname set for octoprint and that your octoprint container is not using a base url
33

44
server {
@@ -35,6 +35,7 @@ server {
3535
set $upstream_port 80;
3636
set $upstream_proto http;
3737
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
38+
proxy_set_header X-Scheme https;
3839

3940
}
4041

0 commit comments

Comments
 (0)