Skip to content

Commit d6b9854

Browse files
authored
Create wrapperr.subdomain.conf.sample
1 parent fde4486 commit d6b9854

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

wrapperr.subdomain.conf.sample

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## Version 2022/09/08
2+
# make sure that your dns has a cname set for wrapperr and that your wrapperr container is not using a base url
3+
4+
server {
5+
listen 443 ssl;
6+
listen [::]:443 ssl;
7+
8+
server_name wrapperr.*;
9+
10+
include /config/nginx/ssl.conf;
11+
12+
client_max_body_size 0;
13+
14+
# enable for ldap auth (requires ldap-location.conf in the location block)
15+
#include /config/nginx/ldap-server.conf;
16+
17+
# enable for Authelia (requires authelia-location.conf in the location block)
18+
#include /config/nginx/authelia-server.conf;
19+
20+
location / {
21+
# enable the next two lines for http auth
22+
#auth_basic "Restricted";
23+
#auth_basic_user_file /config/nginx/.htpasswd;
24+
25+
# enable for ldap auth (requires ldap-server.conf in the server block)
26+
#include /config/nginx/ldap-location.conf;
27+
28+
# enable for Authelia (requires authelia-server.conf in the server block)
29+
#include /config/nginx/authelia-location.conf;
30+
31+
include /config/nginx/proxy.conf;
32+
include /config/nginx/resolver.conf;
33+
set $upstream_app wrapperr;
34+
set $upstream_port 8282;
35+
set $upstream_proto http;
36+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
37+
38+
}
39+
}

0 commit comments

Comments
 (0)