File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ server {
2+ listen 443 ssl;
3+ listen [::]:443 ssl;
4+
5+ server_name drone.*;
6+
7+ include /config/nginx/ssl.conf;
8+
9+ client_max_body_size 0;
10+
11+ # enable for ldap auth, fill in ldap details in ldap.conf
12+ #include /config/nginx/ldap.conf;
13+
14+ # enable for Authelia
15+ #include /config/nginx/authelia-server.conf;
16+
17+ location / {
18+ # enable the next two lines for http auth
19+ #auth_basic "Restricted";
20+ #auth_basic_user_file /config/nginx/.htpasswd;
21+
22+ # enable the next two lines for ldap auth
23+ #auth_request /auth;
24+ #error_page 401 =200 /ldaplogin;
25+
26+ # enable for Authelia
27+ #include /config/nginx/authelia-location.conf;
28+
29+ include /config/nginx/proxy.conf;
30+ resolver 127.0.0.11 valid=30s;
31+ set $upstream_app drone;
32+ set $upstream_port 80;
33+ set $upstream_proto http;
34+ proxy_pass $upstream_proto://$upstream_app:$upstream_port;
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments