Added Caddy reverse proxy example

environments/review-docs-rate-jr6phc/deployments/2479
Eliot Berriot 2019-08-20 09:42:04 +02:00
rodzic 7e8e21e1d1
commit 7da25145fb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
1 zmienionych plików z 16 dodań i 0 usunięć

Wyświetl plik

@ -275,6 +275,22 @@ installation guide.
Check the configuration is valid with ``apache2ctl configtest``, and once you're
done, load the new configuration with ``service apache2 restart``.
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::
yourdomain.funkwhale {
proxy / 127.0.0.1:5000 {
transparent
websocket
header_upstream X-Forwarded-Host {host}:{server_port}
}
}
About internal locations
^^^^^^^^^^^^^^^^^^^^^^^^