File: .htaccess

package info (click to toggle)
leiningen-clojure 2.11.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,124 kB
  • sloc: xml: 925; sh: 776; lisp: 46; makefile: 45; java: 16
file content (12 lines) | stat: -rw-r--r-- 314 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Options +MultiViews -ExecCGI
RewriteEngine on

# HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L]

Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
Header always set Permissions-Policy: interest-cohort=()

ErrorDocument 404 /404.html
AddDefaultCharset UTF-8