Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- ServerName raiko.dev
- ServerAlias www.raiko.dev
- DocumentRoot /var/www/rickroll
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
- <VirtualHost *:80>
- ServerName cloud.raiko.dev
- Redirect permanent http://cloud.raiko.dev/ https://cloud.raiko.dev/
- DocumentRoot /var/www/nextcloud
- <Directory /var/www/nextcloud/>
- Require all granted
- Options FollowSymlinks MultiViews
- AllowOverride All
- </Directory>
- <IfModule mod_dav.c>
- Dav off
- </IfModule>
- <IfModule mod_headers.c>
- Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
- </IfModule>
- ErrorLog /var/log/apache2/cloud.raiko.dev.error_log
- CustomLog /var/log/apache2/cloud.raiko.dev.access_log common
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement