replace resolver with resolver.conf

This commit is contained in:
aptalca 2021-05-18 11:01:58 -04:00
commit 5de18b47c6
191 changed files with 466 additions and 466 deletions

View file

@ -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.
@ -33,7 +33,7 @@ server {
#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>;
@ -46,7 +46,7 @@ server {
# 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>;