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
# make sure that your dns has a cname set for emby
# if emby is running in bridge mode and the container is named "emby", the below config should work as is
# if not, replace the line "set $upstream_app emby;" with "set $upstream_app <containername>;"
@ -12,7 +12,7 @@ location /emby {
location ^~ /emby/ {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app emby;
set $upstream_port 8096;
set $upstream_proto http;
@ -24,7 +24,7 @@ location ^~ /emby/ {
location ^~ /embywebsocket {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app emby;
set $upstream_port 8096;
set $upstream_proto http;