Skip to content

Commit 2974133

Browse files
authored
Merge pull request #664 from linuxserver/monica
monica: add instructions, set to https
2 parents 0e14ac6 + ecf7dde commit 2974133

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

monica.subdomain.conf.sample

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
## Version 2023/05/31
2-
# make sure that your monica. container is named monica.
1+
## Version 2024/03/28
2+
# make sure that your monica container is named monica.
33
# make sure that your dns has a cname set for monica.
4+
# monica container should have the env var APP_ENV=production set.
5+
# monica container should have the env var TRUSTED_PROXIES set to a value
6+
# that includes SWAG as seen by the monica container
47

58
server {
69
listen 443 ssl http2;
@@ -38,8 +41,8 @@ server {
3841
include /config/nginx/proxy.conf;
3942
include /config/nginx/resolver.conf;
4043
set $upstream_app monica;
41-
set $upstream_port 80;
42-
set $upstream_proto http;
44+
set $upstream_port 443;
45+
set $upstream_proto https;
4346
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4447
}
4548
}

0 commit comments

Comments
 (0)