You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
# How to use these Reverse Proxy Configs
4
4
5
-
This folder contains sample reverse proxy configs for various docker images linuxserver provides and other commonly used applications.
5
+
This folder contains sample reverse proxy configs for various docker images linuxserver provides and other commonly used applications.
6
6
7
7
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.
8
8
@@ -23,27 +23,27 @@ Conversely subdomain reverse proxying does not require special accommodation by
23
23
24
24
Make sure that your default site config contains the following lines in the appropriate spots as seen in the default version:
25
25
26
-
1) For subfolder methods: `include /config/nginx/proxy-confs/*.subfolder.conf;`
27
-
2) For subdomain methods: `include /config/nginx/proxy-confs/*.subdomain.conf;`
26
+
1. For subfolder methods: `include /config/nginx/proxy-confs/*.subfolder.conf;`
27
+
2. For subdomain methods: `include /config/nginx/proxy-confs/*.subdomain.conf;`
28
28
29
29
### Ensure you have a custom docker network
30
30
31
-
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.
31
+
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.
32
32
33
33
- 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.
34
34
35
35
- 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]`.
36
36
37
37
- 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.
38
38
39
-
- 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.
39
+
- 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.
40
40
41
41
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.
42
42
43
43
### Rename the required proxy configs
44
44
45
-
1) Rename the conf files and remove the `.sample` at the end (ie. `sonarr.subfolder.conf`)
46
-
2) Restart the swag container
45
+
1. Rename the conf files and remove the `.sample` at the end (ie. `sonarr.subfolder.conf`)
46
+
2. Restart the swag container
47
47
48
48
### Make any necessary changes detailed in the config
0 commit comments