summaryrefslogtreecommitdiff
path: root/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf')
-rw-r--r--usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf b/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf
index c3c052b..0eb8696 100644
--- a/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf
+++ b/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf
@@ -1,8 +1,11 @@
<VirtualHost *:80>
DocumentRoot "/usr/local/www/nextcloud"
- ServerName 192.168.1.55
+ ServerName nextcloud.53hor.net
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9000/"
</FilesMatch>
+ <IfModule mod_headers.c>
+ Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
+ </IfModule>
DirectoryIndex /index.php index.php
</VirtualHost>