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+ ## Version 2022/08/06
2+
3+ server {
4+ listen 443 ssl;
5+ listen [::]:443 ssl;
6+
7+ server_name leantime.*;
8+
9+ include /config/nginx/ssl.conf;
10+
11+ client_max_body_size 20M;
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+ include /config/nginx/resolver.conf;
33+ set $upstream_app leantime;
34+ set $upstream_port 80;
35+ set $upstream_proto http;
36+ proxy_pass $upstream_proto://$upstream_app:$upstream_port;
37+
38+ }
39+
40+ }
You can’t perform that action at this time.
0 commit comments