Skip to content

Commit 3a213fd

Browse files
authored
Create scrutiny.subdomain.conf.sample
1 parent dcf509d commit 3a213fd

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

scrutiny.subdomain.conf.sample

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

0 commit comments

Comments
 (0)