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
|
# Leaving it off for now for testing
|
||||||
#Redirect permanent / https://{{ nextcloud_url }}
|
#Redirect permanent / https://{{ nextcloud_url }}
|
||||||
DocumentRoot {{ nextcloud_webroot }}
|
DocumentRoot {{ nextcloud_webroot }}
|
||||||
|
<Directory "{{ nextcloud_webroot }}">
|
||||||
|
Require all granted
|
||||||
|
AllowOverride All
|
||||||
|
Options MultiViews FollowSymlinks
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
@ -26,4 +31,9 @@ SSLStrictSNIVHostCheck off
|
|||||||
</Directory>
|
</Directory>
|
||||||
ServerName {{ nextcloud_url }}
|
ServerName {{ nextcloud_url }}
|
||||||
DocumentRoot {{ nextcloud_webroot }}
|
DocumentRoot {{ nextcloud_webroot }}
|
||||||
|
<Directory "{{ nextcloud_webroot }}">
|
||||||
|
Require all granted
|
||||||
|
AllowOverride All
|
||||||
|
Options MultiViews FollowSymlinks
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
@ -4,8 +4,10 @@
|
|||||||
# Website configuration
|
# Website configuration
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName {{ nextcloud_url }}
|
ServerName {{ nextcloud_url }}
|
||||||
# Uncomment me for HTTPS redirection
|
|
||||||
# Leaving it off for now for testing
|
|
||||||
#Redirect permanent / https://{{ nextcloud_url }}
|
|
||||||
DocumentRoot {{ nextcloud_webroot }}
|
DocumentRoot {{ nextcloud_webroot }}
|
||||||
|
<Directory "{{ nextcloud_webroot }}">
|
||||||
|
Require all granted
|
||||||
|
AllowOverride All
|
||||||
|
Options MultiViews FollowSymlinks
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
Loading…
Reference in New Issue
Block a user