• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Setting up a vhost for "dynmap"

UweP

Regular Pleskian
Hi. I have a minecraft server running on my server and I want to host the dynmap (dynamic map displaying the world) in a vhost using apache2.4. I don't wanna use plesk for that as I only run into errors. How can I set a vhost for nginx (im new to nginx and i dont know how it works) in addition to th is one in apache for it to work. where and how do i have to add the vhost for nginx?

<VirtualHost 178.63.34.115:80>
ServerName dynmap.unitycraft.de
DocumentRoot /mnt/ssd/minecraft/dynmapweb

Alias /dynmap/tiles /mnt/ssd/minecraft/dynmapweb/tiles

<Directory /mnt/ssd/minecraft/dynmapweb/>
Require all granted
</Directory>

RewriteEngine on
RewriteRule /dynmap/up/(.*) http://localhost:8123/up/$1 [P,L]
RewriteRule /dynmap/standalone/(.*) http://localhost:8123/standalone/$1 [P,L]
</VirtualHost>

<Directory /mnt/ssd/minecraft/dynmapweb/tiles/>
Require all granted
Order allow,deny
Allow from all
</Directory>

<Proxy http://localhost:8123/*>
Require all granted
Order deny,allow
Allow from all
</Proxy>

Can you please help me I really need this working. I don't want plesk to have anything to do with it at all.
 
Last edited:
I just want nginx to simply pass everything to apache or so. just like the disalbe smart static option. and proxy to apache.
 
nm. im not proxying it anymore. .. will just stick with the need to use a port version. direct access. ;D
 
Back
Top