Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName cloud.example.de
- ServerAdmin example@protonmail.com
- DocumentRoot /data/www/cloud.example.de
- <Directory "/data/www/cloud.example.de">
- Options FollowSymLinks
- AllowOverride None
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- <IfModule mod_headers.c>
- Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
- </IfModule>
- RewriteEngine on
- # RewriteCond %{SERVER_NAME} =cloud.example.de
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement