summaryrefslogtreecommitdiff
path: root/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-02-09 16:34:55 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-02-09 16:34:55 -0500
commit2d755550b3eed4c2733975c777843ed51dec0ed1 (patch)
treef75b1a9db52a9c0900097244f026491076d400cf /usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf
parent0c515bbf1a463791aaeed8354a50c3a6c3bcc02b (diff)
downloadnextcloud-master.tar.xz
nextcloud-master.zip
fixed reverse proxy config, servernameHEADmaster
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>