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 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+ }
You can’t perform that action at this time.
0 commit comments