mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-20 13:23:48 -07:00
replace resolver with resolver.conf
This commit is contained in:
parent
662d05bb1a
commit
5de18b47c6
191 changed files with 466 additions and 466 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2020/12/09
|
||||
## Version 2021/05/18
|
||||
# REMOVE THIS LINE BEFORE SUBMITTING: The structure of the file (all of the existing lines) should be kept as close as possible to this template.
|
||||
# REMOVE THIS LINE BEFORE SUBMITTING: Look through this file for <tags> and replace them. Review other sample files to see how things are done.
|
||||
# REMOVE THIS LINE BEFORE SUBMITTING: The comment lines at the top of the file (below this line) should explain any prerequisites for using the proxy such as DNS or app settings.
|
||||
|
@ -21,7 +21,7 @@ location ^~ /<container_name>/ {
|
|||
#include /config/nginx/authelia-location.conf;
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app <container_name>;
|
||||
set $upstream_port <port_number>;
|
||||
set $upstream_proto <http or https>;
|
||||
|
@ -34,7 +34,7 @@ location ^~ /<container_name>/ {
|
|||
# REMOVE THIS LINE BEFORE SUBMITTING: If the proxy you are making a sample for does not require an additional location block please remove the commented out section below.
|
||||
# location ^~ /<container_name>/api {
|
||||
# include /config/nginx/proxy.conf;
|
||||
# resolver 127.0.0.11 valid=30s;
|
||||
# include /config/nginx/resolver.conf;
|
||||
# set $upstream_app <container_name>;
|
||||
# set $upstream_port <port_number>;
|
||||
# set $upstream_proto <http or https>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue