Correct some Apache configs
This commit is contained in:
parent
cbb84598b9
commit
c2d9a3786f
@ -13,6 +13,11 @@ SSLStrictSNIVHostCheck off
|
||||
# Leaving it off for now for testing
|
||||
#Redirect permanent / https://{{ nextcloud_url }}
|
||||
DocumentRoot {{ nextcloud_webroot }}
|
||||
<Directory "{{ nextcloud_webroot }}">
|
||||
Require all granted
|
||||
AllowOverride All
|
||||
Options MultiViews FollowSymlinks
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
<VirtualHost *:443>
|
||||
SSLEngine on
|
||||
@ -26,4 +31,9 @@ SSLStrictSNIVHostCheck off
|
||||
</Directory>
|
||||
ServerName {{ nextcloud_url }}
|
||||
DocumentRoot {{ nextcloud_webroot }}
|
||||
<Directory "{{ nextcloud_webroot }}">
|
||||
Require all granted
|
||||
AllowOverride All
|
||||
Options MultiViews FollowSymlinks
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
@ -4,8 +4,10 @@
|
||||
# Website configuration
|
||||
<VirtualHost *:80>
|
||||
ServerName {{ nextcloud_url }}
|
||||
# Uncomment me for HTTPS redirection
|
||||
# Leaving it off for now for testing
|
||||
#Redirect permanent / https://{{ nextcloud_url }}
|
||||
DocumentRoot {{ nextcloud_webroot }}
|
||||
<Directory "{{ nextcloud_webroot }}">
|
||||
Require all granted
|
||||
AllowOverride All
|
||||
Options MultiViews FollowSymlinks
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
Loading…
Reference in New Issue
Block a user