mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 02:26:00 +01:00
Updated Directly hosting BlueMap with external webservers (markdown)
parent
57a4df5961
commit
a18c863c16
@ -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.*<br>
|
||||
*After installing any missing module via `# a2enmod MODULENAME` don't forget to restart apache2!)*
|
||||
|
||||
```apache
|
||||
DocumentRoot /var/www/
|
||||
<Directory /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/
|
||||
|
Loading…
Reference in New Issue
Block a user