Skip to content

Commit

Permalink
replace resolver with resolver.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca committed May 18, 2021
1 parent 662d05b commit 5de18b4
Show file tree
Hide file tree
Showing 191 changed files with 466 additions and 466 deletions.
6 changes: 3 additions & 3 deletions _template.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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>;
Expand All @@ -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>;
Expand Down
6 changes: 3 additions & 3 deletions _template.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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>;
Expand All @@ -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>;
Expand Down
6 changes: 3 additions & 3 deletions adguard.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for adguard and that your adguard container is named adguard

server {
Expand Down Expand Up @@ -30,7 +30,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 adguard;
set $upstream_port 80;
set $upstream_proto http;
Expand All @@ -40,7 +40,7 @@ server {

location /control {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app adguard;
set $upstream_port 80;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions adminer.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# adminer does not require a base url setting, but the container needs to be named adminer

location /adminer {
Expand All @@ -18,7 +18,7 @@ location ^~ /adminer/ {
#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 adminer;
set $upstream_port 8080;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions airsonic.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for airsonic and that your airsonic container is not using a base url
# add `server.use-forward-headers=true` to `/config/application.properties` to ensure logs contain real source IP

Expand Down Expand Up @@ -31,7 +31,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 airsonic;
set $upstream_port 4040;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions airsonic.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# set the CONTEXT_PATH variable to /airsonic in airsonic container.

location ^~ /airsonic {
Expand All @@ -14,7 +14,7 @@ location ^~ /airsonic {
#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 airsonic;
set $upstream_port 4040;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions archisteamfarm.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for archisteamfarm

server {
Expand Down Expand Up @@ -30,7 +30,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 archisteamfarm;
set $upstream_port 1242;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions authelia.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for authelia
# the default authelia-server and authelia-location confs included with letsencrypt rely on
# subfolder proxy at "/authelia" and enabling of this proxy conf is not necessary.
Expand All @@ -18,7 +18,7 @@ server {
location / {

include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app authelia;
set $upstream_port 9091;
set $upstream_proto http;
Expand Down
6 changes: 3 additions & 3 deletions bazarr.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for bazarr and that your bazarr container is not using a base url

server {
Expand Down Expand Up @@ -30,7 +30,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 bazarr;
set $upstream_port 6767;
set $upstream_proto http;
Expand All @@ -40,7 +40,7 @@ server {

location ~ (/bazarr)?/api {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app bazarr;
set $upstream_port 6767;
set $upstream_proto http;
Expand Down
6 changes: 3 additions & 3 deletions bazarr.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# first go into bazarr settings, under "General" set the URL Base to /bazarr/ and restart the bazarr container

location /bazarr {
Expand All @@ -18,7 +18,7 @@ location ^~ /bazarr/ {
#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 bazarr;
set $upstream_port 6767;
set $upstream_proto http;
Expand All @@ -28,7 +28,7 @@ location ^~ /bazarr/ {

location ^~ /bazarr/api {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app bazarr;
set $upstream_port 6767;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions beets.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
#First edit beets.yml and enable the reverse proxy settings, under "web" add "reverse_proxy: true" and restart the beets container.
#Make sure that your dns has a cname set for beets and that your beets container is not using a base url

Expand Down Expand Up @@ -31,7 +31,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 beets;
set $upstream_port 8337;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions beets.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
#first edit beets.yml and enable the reverse proxy settings, under "web" add "reverse_proxy: true" and restart the beets container

location /beets {
Expand All @@ -14,7 +14,7 @@ location /beets {
#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 beets;
set $upstream_port 8337;
set $upstream_proto http;
Expand Down
10 changes: 5 additions & 5 deletions bitwarden.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for bitwarden and that your bitwarden container is not using a base url
# make sure your bitwarden container is named "bitwarden"
# set the environment variable WEBSOCKET_ENABLED=true on your bitwarden container
Expand Down Expand Up @@ -32,7 +32,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 bitwarden;
set $upstream_port 80;
set $upstream_proto http;
Expand All @@ -53,7 +53,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 bitwarden;
set $upstream_port 80;
set $upstream_proto http;
Expand All @@ -63,7 +63,7 @@ server {

location /notifications/hub {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app bitwarden;
set $upstream_port 3012;
set $upstream_proto http;
Expand All @@ -73,7 +73,7 @@ server {

location /notifications/hub/negotiate {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app bitwarden;
set $upstream_port 80;
set $upstream_proto http;
Expand Down
8 changes: 4 additions & 4 deletions bitwarden.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2021/02/05
## Version 2021/05/18
## Environmental Variable DOMAIN=https://<DOMAIN>/bitwarden must be set in bitwarden container including subfolder.
## This is using ports 80 and 3012
location /bitwarden {
Expand All @@ -18,7 +18,7 @@ location ^~ /bitwarden/ {
#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 bitwarden;
set $upstream_port 80;
set $upstream_proto http;
Expand All @@ -28,7 +28,7 @@ location ^~ /bitwarden/ {

location /notifications/hub {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app bitwarden;
set $upstream_port 3012;
set $upstream_proto http;
Expand All @@ -38,7 +38,7 @@ location /notifications/hub {

location /notifications/hub/negotiate {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
include /config/nginx/resolver.conf;
set $upstream_app bitwarden;
set $upstream_port 80;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions boinc.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for boinc

server {
Expand Down Expand Up @@ -30,7 +30,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 boinc;
set $upstream_port 8080;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions boinc.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# boinc does not require a base url setting

location /boinc {
Expand All @@ -18,7 +18,7 @@ location ^~ /boinc/ {
#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 boinc;
set $upstream_port 8080;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions booksonic.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for booksonic and that your booksonic container is not using a base url

server {
Expand Down Expand Up @@ -30,7 +30,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 booksonic;
set $upstream_port 4040;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions booksonic.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# set the CONTEXT_PATH variable to /booksonic in booksonic container.

location ^~ /booksonic {
Expand All @@ -14,7 +14,7 @@ location ^~ /booksonic {
#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 booksonic;
set $upstream_port 4040;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions bookstack.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for bookstack and that your bookstack container is named bookstack
# Ensure you have the APP_URL Environment Variable set correctly in your Docker Run/Compose or in BookStack Env File (/www/.env)
# https://github.com/linuxserver/docker-bookstack#docker
Expand Down Expand Up @@ -32,7 +32,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 bookstack;
set $upstream_port 80;
set $upstream_proto http;
Expand Down
4 changes: 2 additions & 2 deletions calibre-web.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/12/09
## Version 2021/05/18
# make sure that your dns has a cname set for calibre-web

server {
Expand Down Expand Up @@ -30,7 +30,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 calibre-web;
set $upstream_port 8083;
set $upstream_proto http;
Expand Down
Loading

0 comments on commit 5de18b4

Please sign in to comment.