mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-10-06 06:24:52 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
5
roles/httpd_front/templates/common_force_ssl.inc.j2
Normal file
5
roles/httpd_front/templates/common_force_ssl.inc.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} =off
|
||||
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
|
||||
RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R=301,L,NE,E=NOCACHE:1]
|
||||
Header always set Cache-Control "no-store, no-cache, must-revalidate" env=NOCACHE
|
Reference in New Issue
Block a user