GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - linuxserver/reverse-proxy-confs: These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag

BranchesTags
Open more actions menu

Latest commit

 

History

1,215 Commits
1,215 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
_template.subdomain.conf.sample
_template.subdomain.conf.sample
 
 
_template.subfolder.conf.sample
_template.subfolder.conf.sample
 
 
actual-server.subdomain.conf.sample
actual-server.subdomain.conf.sample
 
 
adguard.subdomain.conf.sample
adguard.subdomain.conf.sample
 
 
adminer.subdomain.conf.sample
adminer.subdomain.conf.sample
 
 
adminer.subfolder.conf.sample
adminer.subfolder.conf.sample
 
 
adminmongo.subdomain.conf.sample
adminmongo.subdomain.conf.sample
 
 
airsonic.subdomain.conf.sample
airsonic.subdomain.conf.sample
 
 
airsonic.subfolder.conf.sample
airsonic.subfolder.conf.sample
 
 
apprise-api.subdomain.conf.sample
apprise-api.subdomain.conf.sample
 
 
archisteamfarm.subdomain.conf.sample
archisteamfarm.subdomain.conf.sample
 
 
aria2-with-webui.subdomain.conf.sample
aria2-with-webui.subdomain.conf.sample
 
 
asciinema.subdomain.conf.sample
asciinema.subdomain.conf.sample
 
 
atuin.subdomain.conf.sample
atuin.subdomain.conf.sample
 
 
audiobookshelf.subdomain.conf.sample
audiobookshelf.subdomain.conf.sample
 
 
audiobookshelf.subfolder.conf.sample
audiobookshelf.subfolder.conf.sample
 
 
authelia.subdomain.conf.sample
authelia.subdomain.conf.sample
 
 
authentik.subdomain.conf.sample
authentik.subdomain.conf.sample
 
 
autobrr.subdomain.conf.sample
autobrr.subdomain.conf.sample
 
 
autobrr.subfolder.conf.sample
autobrr.subfolder.conf.sample
 
 
babybuddy.subdomain.conf.sample
babybuddy.subdomain.conf.sample
 
 
bazarr.subdomain.conf.sample
bazarr.subdomain.conf.sample
 
 
bazarr.subfolder.conf.sample
bazarr.subfolder.conf.sample
 
 
beets.subdomain.conf.sample
beets.subdomain.conf.sample
 
 
beets.subfolder.conf.sample
beets.subfolder.conf.sample
 
 
beszel.subdomain.conf.sample
beszel.subdomain.conf.sample
 
 
beszel.subfolder.conf.sample
beszel.subfolder.conf.sample
 
 
bitwarden.subdomain.conf.sample
bitwarden.subdomain.conf.sample
 
 
boinc.subdomain.conf.sample
boinc.subdomain.conf.sample
 
 
boinc.subfolder.conf.sample
boinc.subfolder.conf.sample
 
 
booksonic.subdomain.conf.sample
booksonic.subdomain.conf.sample
 
 
booksonic.subfolder.conf.sample
booksonic.subfolder.conf.sample
 
 
bookstack.subdomain.conf.sample
bookstack.subdomain.conf.sample
 
 
budge.subdomain.conf.sample
budge.subdomain.conf.sample
 
 
cadvisor.subdomain.conf.sample
cadvisor.subdomain.conf.sample
 
 
calibre-web.subdomain.conf.sample
calibre-web.subdomain.conf.sample
 
 
calibre-web.subfolder.conf.sample
calibre-web.subfolder.conf.sample
 
 
calibre.subdomain.conf.sample
calibre.subdomain.conf.sample
 
 
calibre.subfolder.conf.sample
calibre.subfolder.conf.sample
 
 
castopod.subdomain.conf.sample
castopod.subdomain.conf.sample
 
 
changedetection.subdomain.conf.sample
changedetection.subdomain.conf.sample
 
 
chevereto.subdomain.conf.sample
chevereto.subdomain.conf.sample
 
 
chronograf.subdomain.conf.sample
chronograf.subdomain.conf.sample
 
 
chronograf.subfolder.conf.sample
chronograf.subfolder.conf.sample
 
 
cloudbeaver.subdomain.conf.sample
cloudbeaver.subdomain.conf.sample
 
 
code-server.subdomain.conf.sample
code-server.subdomain.conf.sample
 
 
codimd.subdomain.conf.sample
codimd.subdomain.conf.sample
 
 
collabora.subdomain.conf.sample
collabora.subdomain.conf.sample
 
 
commento.subdomain.conf.sample
commento.subdomain.conf.sample
 
 
copyparty.subdomain.conf.sample
copyparty.subdomain.conf.sample
 
 
couchpotato.subdomain.conf.sample
couchpotato.subdomain.conf.sample
 
 
couchpotato.subfolder.conf.sample
couchpotato.subfolder.conf.sample
 
 
crontabui.subfolder.conf.sample
crontabui.subfolder.conf.sample
 
 
crowdsec-dashboard.subdomain.conf.sample
crowdsec-dashboard.subdomain.conf.sample
 
 
crowdsec.subdomain.conf.sample
crowdsec.subdomain.conf.sample
 
 
cryptgeon.subdomain.conf.sample
cryptgeon.subdomain.conf.sample
 
 
dashy.subdomain.conf.sample
dashy.subdomain.conf.sample
 
 
ddns-updater.subdomain.conf.sample
ddns-updater.subdomain.conf.sample
 
 
ddns-updater.subfolder.conf.sample
ddns-updater.subfolder.conf.sample
 
 
deluge.subdomain.conf.sample
deluge.subdomain.conf.sample
 
 
deluge.subfolder.conf.sample
deluge.subfolder.conf.sample
 
 
dillinger.subdomain.conf.sample
dillinger.subdomain.conf.sample
 
 
discount-bandit.subdomain.conf.sample
discount-bandit.subdomain.conf.sample
 
 
dnsdist.subdomain.conf.sample
dnsdist.subdomain.conf.sample
 
 
dockge.subdomain.conf.sample
dockge.subdomain.conf.sample
 
 
dockge.subfolder.conf.sample
dockge.subfolder.conf.sample
 
 
dockhand.subdomain.conf.sample
dockhand.subdomain.conf.sample
 
 
documentserver.subdomain.conf.sample
documentserver.subdomain.conf.sample
 
 
dokuwiki.subdomain.conf.sample
dokuwiki.subdomain.conf.sample
 
 
dokuwiki.subfolder.conf.sample
dokuwiki.subfolder.conf.sample
 
 
domoticz.subdomain.conf.sample
domoticz.subdomain.conf.sample
 
 
domoticz.subfolder.conf.sample
domoticz.subfolder.conf.sample
 
 
dozzle.subdomain.conf.sample
dozzle.subdomain.conf.sample
 
 
dozzle.subfolder.conf.sample
dozzle.subfolder.conf.sample
 
 
drone.subdomain.conf.sample
drone.subdomain.conf.sample
 
 
dsmrreader.subdomain.conf.sample
dsmrreader.subdomain.conf.sample
 
 
duplicacy.subdomain.conf.sample
duplicacy.subdomain.conf.sample
 
 
duplicati.subdomain.conf.sample
duplicati.subdomain.conf.sample
 
 
duplicati.subfolder.conf.sample
duplicati.subfolder.conf.sample
 
 
emby.subdomain.conf.sample
emby.subdomain.conf.sample
 
 
emby.subfolder.conf.sample
emby.subfolder.conf.sample
 
 
embystat.subdomain.conf.sample
embystat.subdomain.conf.sample
 
 
emulatorjs.subdomain.conf.sample
emulatorjs.subdomain.conf.sample
 
 
esphome.subdomain.conf.sample
esphome.subdomain.conf.sample
 
 
fenrus.subdomain.conf.sample
fenrus.subdomain.conf.sample
 
 
filebot.subdomain.conf.sample
filebot.subdomain.conf.sample
 
 
filebot.subfolder.conf.sample
filebot.subfolder.conf.sample
 
 
filebrowser.subdomain.conf.sample
filebrowser.subdomain.conf.sample
 
 
filebrowser.subfolder.conf.sample
filebrowser.subfolder.conf.sample
 
 
firefly.subdomain.conf.sample
firefly.subdomain.conf.sample
 
 
firefox.subdomain.conf.sample
firefox.subdomain.conf.sample
 
 
flaresolverr.subdomain.conf.sample
flaresolverr.subdomain.conf.sample
 
 
flaresolverr.subfolder.conf.sample
flaresolverr.subfolder.conf.sample
 
 
flexget.subdomain.conf.sample
flexget.subdomain.conf.sample
 
 

Repository files navigation

How to use these Reverse Proxy Configs

This folder contains sample reverse proxy configs for various docker images linuxserver provides and other commonly used applications.

NOTE: We avoid providing samples that publicly expose server management software (ex: syno, qnap, unraid, proxmox, esxi, etc). Pull requests to add samples for this category of applications will not be accepted.

They are grouped in two:

  1. subfolder these will allow accessing services at https://yourdomain.com/servicename
  2. subdomain these will allow accessing services at https://servicename.yourdomain.com

It is recommended that users deploy subdomain reverse proxying and not subfolder.

Whilst subfolder reverse proxying appears easier to implement the inherent nature of this technique requires that each application developer make accommodations to support it. This is not always the case and it is common to see applications with no or partial support resulting in an unreliable experience.

Conversely subdomain reverse proxying does not require special accommodation by application developers and will invariably work (or can be made to work) seamlessly without upstream changes.

To enable the reverse proxy configs:

Configure your default site config

Make sure that your default site config contains the following lines in the appropriate spots as seen in the default version:

  1. For subfolder methods: include /config/nginx/proxy-confs/*.subfolder.conf;
  2. For subdomain methods: include /config/nginx/proxy-confs/*.subdomain.conf;

Ensure you have a custom docker network

These confs assume that the swag container can reach other containers via their dns hostnames (defaults to container name) resolved via docker's internal dns. This is achieved through having the containers attached to the same user defined docker bridge network.

  • If you are using docker-compose and the containers are managed through the same yaml file, docker-compose will automatically create a custom network and attach all containers to it. Nothing extra is required.

  • If you are starting the containers via command line, first create a bridge network with the command docker network create [networkname] Then define that network in the container run/create command via --network [networkname].

  • If you are using a gui manager like portainer, you can create a custom bridge network in the gui, and select it when creating a new container.

  • If you are using unraid, create a custom network in command line via docker network create [networkname], then go to docker service settings (under advanced) and set the option Preserve user defined networks: to Yes. Then in each container setting, including the swag container, in the network type dropdown, select Custom : [networkname]. This is a necessary step as the bridge network that unraid uses by default does not allow container to container communication.

If the reverse proxied containers are not reachable via dns or they are running on a different machine, you will have to modify these confs to fit your needs.

Rename the required proxy configs

  1. Rename the conf files and remove the .sample at the end (ie. sonarr.subfolder.conf)
  2. Restart the swag container

Make any necessary changes detailed in the config

Some applications require you to make changes to the service containers such as adding base urls in their settings. Each conf file lists the required changes on the first line.

If you are reverse proxying linuxserver containers installed on the same host with the recommended options, you shouldn't need to edit these conf files.

To disable the configs:

Simply delete the confs and restart swag.

About

These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag

Topics

hacktoberfest

Resources

Readme
GPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1.6k stars

Watchers

33 watching

Forks

325 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.