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.
<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: