Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Virtual Host for Nextcloud, running with snap!
- <VirtualHost *:80>
- ServerName cloud.techguides.yt
- ProxyPreserveHost On
- ProxyRequests Off
- ProxyPass / http://localhost:81/
- ProxyPassReverse / http://localhost:81/
- </VirtualHost>
- # Virtual Host for some application, running on port 8080
- <VirtualHost *:80>
- ServerName wiki.techguides.yt
- ProxyPreserveHost On
- ProxyRequests Off
- ProxyPass / http://localhost:8080/
- ProxyPassReverse / http://localhost:8080/
- </VirtualHost>
- # Virtual Host for standard website
- <VirtualHost *:80>
- ServerName techguides.yt
- ServerAdmin webmaster@techguides.yt
- DocumentRoot /var/www/html
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment