From c90720e4268a97293dc3537847abf7db060fd312 Mon Sep 17 00:00:00 2001 From: fox Date: Sun, 6 Sep 2020 07:12:35 +0000 Subject: [PATCH] Update page 'Home' --- Home.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Home.md b/Home.md index def2c08..36db666 100644 --- a/Home.md +++ b/Home.md @@ -58,6 +58,26 @@ A common pattern is shared nginx doing SSL termination, etc. } ``` +Apache: + +``` +a2enmod proxy +a2enmod proxy_http +``` + +```apache + + ServerName domain.com + + ProxyPreserveHost On + ProxyRequests Off + + # Server IP + the exposed port of docker container + ProxyPass / http://127.0.0.1:8280/ + ProxyPassReverse / http://127.0.0.1:8280/ + +``` + You will need to set ``SELF_URL_PATH`` to a correct (i.e. visible from the outside) value in the ``.env`` file. ### Stock Caddy container doesn't work on Raspberry Pi