mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Added API block to flexget.subfolder.conf.sample
This commit is contained in:
parent
4fc4140911
commit
5637c3c787
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
## Version 2021/02/22
|
||||
# make sure that to set 'base_url: /flexget' in your flexget's config.yml
|
||||
# make sure to set 'base_url: /flexget' under your flexget's config.yml web_server block
|
||||
|
||||
location /flexget {
|
||||
return 301 $scheme://$host/flexget/;
|
||||
|
@ -27,3 +27,13 @@ location /flexget {
|
|||
|
||||
}
|
||||
|
||||
location ^~ /flexget/api {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app flexget;
|
||||
set $upstream_port 5050;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue