Sfoglia il codice sorgente

Also redirect normal web access to www domain.

Thomas Buck 5 anni fa
parent
commit
e74015eadf

+ 5
- 0
roles/blog/templates/etc_apache2_sites-available_blog.j2 Vedi File

@@ -7,6 +7,11 @@
7 7
 
8 8
 <VirtualHost *:443>
9 9
     ServerName {{ item.name }}
10
+
11
+    Redirect temp / https://www.{{ item.name }}/
12
+</VirtualHost>
13
+
14
+<VirtualHost *:443>
10 15
     ServerAlias www.{{ item.name }}
11 16
 
12 17
     SSLEngine               On

Loading…
Annulla
Salva