Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Alias /nextcloud "/var/www/nextcloud/"
- <Directory /var/www/nextcloud/>
- Options +FollowSymlinks
- AllowOverride All
- <IfModule mod_dav.c>
- Dav off
- </IfModule>
- SetEnv HOME /var/www/nextcloud
- SetEnv HTTP_HOME /var/www/nextcloud
- </Directory>
- <VirtualHost *:80>
- ServerName cloud.domain.de
- Redirect permanent / https://cloud.domain.de
- </VirtualHost>
- <VirtualHost *:443>
- ServerName cloud.domain.de
- <IfModule mod_headers.c>
- Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
- </IfModule>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement