forked from samuel-p/connectivity-check
9 lines
256 B
ApacheConf
9 lines
256 B
ApacheConf
RewriteEngine On
|
|
|
|
Header always set "X-NetworkManager-Status" "online"
|
|
|
|
RewriteCond "%{REQUEST_FILENAME}" "(generate)?_?204"
|
|
RewriteRule "(generate)?_?204" / [R=204,L]
|
|
|
|
RewriteCond %{HTTPS} off
|
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|