Skip to content

Commit 6218a1c

Browse files
Proxy conf for leantime
Proxy configuration for the project management tool Leantime. https://leantime.io
1 parent 1da0c0c commit 6218a1c

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

leantime.conf

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
}

0 commit comments

Comments
 (0)