Skip to content

Commit 2d577f0

Browse files
committed
Create storm.subdomain.conf.sample
1 parent 2a5ec41 commit 2d577f0

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

storm.subdomain.conf.sample

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
## Version 2023/02/05
2+
# reverse proxy config for a modern deluge interface named storm
3+
# https://github.com/relvacode/storm
4+
# make sure that your storm container is named storm
5+
# make sure that your dns has a cname set for storm
6+
7+
server {
8+
listen 443 ssl http2;
9+
listen [::]:443 ssl http2;
10+
11+
server_name storm.*;
12+
13+
# enable to indicate to search engines to not index this site
14+
# add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
15+
16+
include /config/nginx/ssl.conf;
17+
18+
client_max_body_size 0;
19+
20+
# enable for ldap auth (requires ldap-location.conf in the location block)
21+
#include /config/nginx/ldap-server.conf;
22+
23+
# enable for Authelia (requires authelia-location.conf in the location block)
24+
#include /config/nginx/authelia-server.conf;
25+
26+
# enable for Authentik (requires authentik-location.conf in the location block)
27+
#include /config/nginx/authentik-server.conf;
28+
29+
location / {
30+
# enable the next two lines for http auth
31+
#auth_basic "Restricted";
32+
#auth_basic_user_file /config/nginx/.htpasswd;
33+
34+
# enable for ldap auth (requires ldap-server.conf in the server block)
35+
#include /config/nginx/ldap-location.conf;
36+
37+
# enable for Authelia (requires authelia-server.conf in the server block)
38+
#include /config/nginx/authelia-location.conf;
39+
40+
# enable for Authentik (requires authentik-server.conf in the server block)
41+
#include /config/nginx/authentik-location.conf;
42+
43+
include /config/nginx/proxy.conf;
44+
include /config/nginx/resolver.conf;
45+
set $upstream_app storm;
46+
set $upstream_port 8221;
47+
set $upstream_proto http;
48+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
49+
50+
51+
}
52+
53+
54+
}

0 commit comments

Comments
 (0)