Docs - Reverse proxy - Caddy v2 installation notes

This commit is contained in:
gisforgabriel 2020-06-11 05:45:10 +02:00 committed by Agate
parent 7e76fa0bae
commit 0695647713
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
2 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1 @@
Updated documentation to reflect changes in Caddy v2.

View File

@ -324,7 +324,15 @@ Caddy
^^^^^
If you're using Caddy as a reverse proxy in front of your docker containers (either mono or multi-container setup),
you can use the following configuration::
you can use the following Caddyfile configuration:
Caddy v2::
yourdomain.funkwhale
reverse_proxy 127.0.0.1:5000
Caddy v1::
yourdomain.funkwhale {
proxy / 127.0.0.1:5000 {
@ -335,7 +343,6 @@ you can use the following configuration::
}
About internal locations
^^^^^^^^^^^^^^^^^^^^^^^^