Skip to content

Commit 4ebc408

Browse files
authored
Merge pull request #384 from joserebelo/pyload-ng
Add pyload.subfolder.conf.sample
2 parents 4ef5a77 + 404b58b commit 4ebc408

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

pyload.subfolder.conf.sample

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Version 2021/10/03
2+
# First go into pyload settings, under "Web Interface" set the "Path Prefix" to /pyload and restart the pyload container
3+
# Only works with pyload-ng
4+
5+
location ^~ /pyload {
6+
# enable the next two lines for http auth
7+
#auth_basic "Restricted";
8+
#auth_basic_user_file /config/nginx/.htpasswd;
9+
10+
# enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf
11+
#auth_request /auth;
12+
#error_page 401 =200 /ldaplogin;
13+
14+
# enable for Authelia, also enable authelia-server.conf in the default site config
15+
#include /config/nginx/authelia-location.conf;
16+
17+
include /config/nginx/proxy.conf;
18+
include /config/nginx/resolver.conf;
19+
set $upstream_app pyload;
20+
set $upstream_port 8000;
21+
set $upstream_proto http;
22+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
23+
24+
}

0 commit comments

Comments
 (0)