From f7f3a6d41d81017f9420f2f520e425b2b26a90db Mon Sep 17 00:00:00 2001 From: Alexander Henderson Date: Wed, 29 Jul 2020 01:30:41 -0400 Subject: [PATCH] Updated server type list for new subdir and subdomain sections for Caddy --- Reverse-Proxy-Examples.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Reverse-Proxy-Examples.md b/Reverse-Proxy-Examples.md index c874984..7796733 100644 --- a/Reverse-Proxy-Examples.md +++ b/Reverse-Proxy-Examples.md @@ -13,6 +13,8 @@ Server type:
* [IIS with subdirectory](https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-Examples#iis-with-subdirectory) * [IIS with subdomain](https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-Examples#iis-with-subdomain) * [Caddy](https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-Examples#caddy) + * [Caddy with subdirectory](https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-Examples#subdirectory) + * [Caddy with subdomain](https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-Examples#subdomain) * [Traefik](https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-Examples#traefik) * [Traefik with subdirectory](https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-Examples#traefik-with-subdirectory) * [Traefik with subdomain](https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-Examples#traefik-with-subdomain) @@ -247,13 +249,6 @@ You can find Caddy [here](https://caddyserver.com/), and their docs can be found An official docker image can be found [here](https://hub.docker.com/r/abiosoft/caddy/).
Otherwise you can direct install using a binary found [here](https://github.com/caddyserver/caddy/releases). _**Note:** The official binaries and Docker image do not include any of the DNS plugins required for wildcard certificates or DNS verification instead of port 80 verification. If your connection blocks port 80, you will need to build your own binary or image to include these._ -### Subdomain -``` -ombi.yourdomain.tld { - reverse_proxy 127.0.0.1:5000 - } -``` - ### Subdirectory ``` your.domain.tld { @@ -263,6 +258,13 @@ your.domain.tld { } ``` +### Subdomain +``` +ombi.yourdomain.tld { + reverse_proxy 127.0.0.1:5000 + } +``` + ## **Traefik:** Traefik is the a great reverse proxy option if you are using a container-based setup such as docker compose.
You can find Traefik [here](https://docs.traefik.io/), and their getting started guide [here](https://docs.traefik.io/getting-started/quick-start/).