From a18c863c16c4662e8951a4e0a2db4612de0239a1 Mon Sep 17 00:00:00 2001 From: Lukas Rieger Date: Thu, 8 Apr 2021 10:21:05 +0200 Subject: [PATCH] Updated Directly hosting BlueMap with external webservers (markdown) --- ...ly-hosting-BlueMap-with-external-webservers.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Directly-hosting-BlueMap-with-external-webservers.md b/Directly-hosting-BlueMap-with-external-webservers.md index 470ea95..5f10ef1 100644 --- a/Directly-hosting-BlueMap-with-external-webservers.md +++ b/Directly-hosting-BlueMap-with-external-webservers.md @@ -45,8 +45,12 @@ server { ``` ## Apache -I am not using Apache and i have not tested this myself, but here is a solution from [@kencinder](https://github.com/kencinder) as an example configuration: -Tested and modified by [@Chicken](https://github.com/Chicken) + +This needs the HEADERS, REWRITE and all PROXY (PROXY and PROXY_HTTP) modules for Apache to be enabled! + +*(You can check your enabled modules via `# apache2ctl -M` and check whether the modules are enabled.*
+*After installing any missing module via `# a2enmod MODULENAME` don't forget to restart apache2!)* + ```apache DocumentRoot /var/www/ @@ -85,13 +89,8 @@ ProxyPass /live/ http://127.0.0.1:8100/live/ ProxyPassReverse /live/ http://127.0.0.1:8100/live/ ``` -*this needs the HEADERS, REWRITE and all PROXY (PROXY and PROXY_HTTP) modules for Apache to be enabled!* -*you can check your anabled modules via `# apache2ctl -M` and check whether the modules are enabled.* -*after installing any missing module via `# a2enmod MODULENAME` don't forget to restart apache2!* - - ## Caddy -Here is a solution from [@mbround18](https://github.com/mbround18) if you are using [Caddy](https://caddyserver.com/): +Here is a solution if you are using [Caddy](https://caddyserver.com/): ``` http://your-domain { root * /usr/share/caddy/