Skip to content

Commit d9d43d4

Browse files
authored
Merge pull request #799 from morpheus65535/master
Added dockhand subdomain sample configuration file
2 parents 7b3075c + eb0d4cf commit d9d43d4

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

dockhand.subdomain.conf.sample

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
## Version 2026/04/08
2+
# make sure that your dockhand container is named dockhand
3+
# make sure that your dns has a cname set for dockhand
4+
5+
server {
6+
listen 443 ssl http2;
7+
# listen 443 quic;
8+
listen [::]:443 ssl http2;
9+
# listen [::]:443 quic;
10+
11+
server_name dockhand.*;
12+
13+
include /config/nginx/ssl.conf;
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+
# enable for Tinyauth (requires tinyauth-location.conf in the location block)
25+
#include /config/nginx/tinyauth-server.conf;
26+
27+
location / {
28+
# enable the next two lines for http auth
29+
#auth_basic "Restricted";
30+
#auth_basic_user_file /config/nginx/.htpasswd;
31+
32+
# enable for ldap auth (requires ldap-server.conf in the server block)
33+
#include /config/nginx/ldap-location.conf;
34+
35+
# enable for Authelia (requires authelia-server.conf in the server block)
36+
#include /config/nginx/authelia-location.conf;
37+
38+
# enable for Authentik (requires authentik-server.conf in the server block)
39+
#include /config/nginx/authentik-location.conf;
40+
41+
# enable for Tinyauth (requires tinyauth-server.conf in the server block)
42+
#include /config/nginx/tinyauth-location.conf;
43+
44+
include /config/nginx/proxy.conf;
45+
include /config/nginx/resolver.conf;
46+
set $upstream_app dockhand;
47+
set $upstream_port 3000;
48+
set $upstream_proto http;
49+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
50+
51+
}
52+
}

0 commit comments

Comments
 (0)