Skip to content

Commit e917ceb

Browse files
author
dhrions
committed
Create wallos.subdomain.conf.sample
1 parent 1df50fd commit e917ceb

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

wallos.subdomain.conf.sample

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
## Version 2024/07/16
2+
# REMOVE THIS LINE BEFORE SUBMITTING: The structure of the file (all of the existing lines) should be kept as close as possible to this template.
3+
# REMOVE THIS LINE BEFORE SUBMITTING: Look through this file for <tags> and replace them. Review other sample files to see how things are done.
4+
# REMOVE THIS LINE BEFORE SUBMITTING: The comment lines at the top of the file (below this line) should explain any prerequisites for using the proxy such as DNS or app settings.
5+
# make sure that your wallos container is named wallos
6+
# make sure that your dns has a cname set for wallos
7+
8+
server {
9+
listen 443 ssl;
10+
listen [::]:443 ssl;
11+
12+
server_name wallos.*;
13+
14+
include /config/nginx/ssl.conf;
15+
16+
client_max_body_size 0;
17+
18+
# enable for ldap auth (requires ldap-location.conf in the location block)
19+
#include /config/nginx/ldap-server.conf;
20+
21+
# enable for Authelia (requires authelia-location.conf in the location block)
22+
#include /config/nginx/authelia-server.conf;
23+
24+
# enable for Authentik (requires authentik-location.conf in the location block)
25+
#include /config/nginx/authentik-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+
include /config/nginx/proxy.conf;
42+
include /config/nginx/resolver.conf;
43+
set $upstream_app wallos;
44+
set $upstream_port 80;
45+
set $upstream_proto http;
46+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
47+
48+
# REMOVE THIS LINE BEFORE SUBMITTING: Additional proxy settings such as headers go below this line, leave the blank line above.
49+
}
50+
51+
# REMOVE THIS LINE BEFORE SUBMITTING: Some proxies require one or more additional location blocks for things like API or RPC endpoints.
52+
# REMOVE THIS LINE BEFORE SUBMITTING: If the proxy you are making a sample for does not require an additional location block please remove the commented out section below.
53+
# location ~ (/wallos)?/api {
54+
# include /config/nginx/proxy.conf;
55+
# include /config/nginx/resolver.conf;
56+
# set $upstream_app wallos;
57+
# set $upstream_port 80;
58+
# set $upstream_proto http;
59+
# proxy_pass $upstream_proto://$upstream_app:$upstream_port;
60+
#
61+
# # REMOVE THIS LINE BEFORE SUBMITTING: Additional proxy settings such as headers go below this line, leave the blank line above.
62+
# }
63+
}

0 commit comments

Comments
 (0)