Sven Neuhaus
a849a49f37
Fix: Files shouldn't be owned or writeable by httpd unless necessary.
10 years ago
Patrick O'Doherty
6f6fc6a90f
Disable SSLv3 in all Apache vhosts
11 years ago
Sven Neuhaus
0a164d519f
Fix syntax for "removes" options
11 years ago
Sven Neuhaus
ab614fd70a
Added rules for dealing with old virtualhost files in
/etc/apache2/sites-available and old (dangling) symlinks in
/etc/apaches/sites-enabled.
Also, remove unnecessary apache2 restart after creating a new
virtualhost but not yet enabling it.
11 years ago
Sven Neuhaus
0f6dfdc6ca
More apache fixes.
The virtual site files must be owned by root (serious security issue)
and they must have the .conf filename suffix for a2ensite on
Ubuntu 14.04LTS (apache 2.4.7).
11 years ago
James Ravn
e3825cf6dd
Revert "Redirects naked domain to www"
This reverts commit 703d356492 .
11 years ago
James Ravn
703d356492
Redirects naked domain to www
Properly behaving websites should 301 redirect the naked domain.
11 years ago
Alex Payne
d28f0f82b9
move to non-deprecated template variable formatting
11 years ago
Luke Cyca
37a0400c22
Standardize apache’s 301 redirect to https, and enable HSTS
11 years ago
Luke Cyca
93e7b3e3bd
Use common domain variable instead of blog_domain
11 years ago
Greg Karékinian
58dddc55d1
Remove variables from roles
Refs #39
12 years ago
Luke Cyca
c697e135e9
Move NameVirtualHost directives to ports.conf
12 years ago
Luke Cyca
09c8fcb295
Named all tasks and made them idempotent where possible
12 years ago
Luke Cyca
d5b2d7ade0
Improved apache SSL config, and disabled directory index
12 years ago
Alex Payne
080d38986c
first commit
12 years ago