Merge branch 'docs-caddyv2-installation-notes' into 'develop'

Docs - Reverse proxy - Caddy v2 installation notes

See merge request funkwhale/funkwhale!1137
This commit is contained in:
Agate 2020-06-11 05:45:11 +02:00
commit 77f2bff9ee
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
^^^^^^^^^^^^^^^^^^^^^^^^