Skip to content

Commit bc9b9e9

Browse files
authored
Merge branch 'master' into patch-5
2 parents db96605 + 1df50fd commit bc9b9e9

File tree

3 files changed

+167
-0
lines changed

3 files changed

+167
-0
lines changed

immich_server.subdomain.conf.sample

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
## Version 2025/01/30
2+
# make sure that your immich container is named immich_server
3+
# make sure that your dns has a cname set for immich
4+
# immich v1.118+ only. For earlier versions, change $upstream_port to 3001
5+
6+
server {
7+
listen 443 ssl;
8+
listen [::]:443 ssl;
9+
10+
server_name immich.*;
11+
12+
include /config/nginx/ssl.conf;
13+
14+
client_max_body_size 0;
15+
16+
# enable for ldap auth (requires ldap-location.conf in the location block)
17+
#include /config/nginx/ldap-server.conf;
18+
19+
# enable for Authelia (requires authelia-location.conf in the location block)
20+
#include /config/nginx/authelia-server.conf;
21+
22+
# enable for Authentik (requires authentik-location.conf in the location block)
23+
#include /config/nginx/authentik-server.conf;
24+
25+
location / {
26+
# enable the next two lines for http auth
27+
#auth_basic "Restricted";
28+
#auth_basic_user_file /config/nginx/.htpasswd;
29+
30+
# enable for ldap auth (requires ldap-server.conf in the server block)
31+
#include /config/nginx/ldap-location.conf;
32+
33+
# enable for Authelia (requires authelia-server.conf in the server block)
34+
#include /config/nginx/authelia-location.conf;
35+
36+
# enable for Authentik (requires authentik-server.conf in the server block)
37+
#include /config/nginx/authentik-location.conf;
38+
39+
include /config/nginx/proxy.conf;
40+
include /config/nginx/resolver.conf;
41+
set $upstream_app immich_server;
42+
set $upstream_port 2283;
43+
set $upstream_proto http;
44+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
45+
46+
}
47+
48+
location ~ (/immich)?/api {
49+
include /config/nginx/proxy.conf;
50+
include /config/nginx/resolver.conf;
51+
set $upstream_app immich_server;
52+
set $upstream_port 2283;
53+
set $upstream_proto http;
54+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
55+
56+
}
57+
}

metabase.subdomain.conf.sample

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
## Version 2025/02/04
2+
# make sure that your metabase container is named metabase
3+
# make sure that your dns has a cname set for metabase
4+
5+
server {
6+
listen 443 ssl;
7+
listen [::]:443 ssl;
8+
9+
server_name metabase.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app metabase;
41+
set $upstream_port 3000;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
}
45+
46+
location ~ ^/api {
47+
include /config/nginx/proxy.conf;
48+
include /config/nginx/resolver.conf;
49+
set $upstream_app metabase;
50+
set $upstream_port 3000;
51+
set $upstream_proto http;
52+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
53+
}
54+
}

watcharr.subdomain.conf.sample

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
## Version 2025/01/24
2+
# make sure that your watcharr container is named watcharr
3+
# make sure that your dns has a cname set for watcharr
4+
5+
server {
6+
listen 443 ssl;
7+
listen [::]:443 ssl;
8+
9+
server_name watcharr.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app watcharr;
41+
set $upstream_port 3080;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
47+
location ~ (/watcharr)?/api {
48+
include /config/nginx/proxy.conf;
49+
include /config/nginx/resolver.conf;
50+
set $upstream_app watcharr;
51+
set $upstream_port 3080;
52+
set $upstream_proto http;
53+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54+
55+
}
56+
}

0 commit comments

Comments
 (0)