forked from samuel-p/connectivity-check
Added Header for Ubuntu
This commit is contained in:
parent
c1d482de1c
commit
3e4ebfc84f
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
|
Header always set "X-NetworkManager-Status" "online"
|
||||||
|
|
||||||
RewriteCond "%{REQUEST_FILENAME}" "(generate)?_?204"
|
RewriteCond "%{REQUEST_FILENAME}" "(generate)?_?204"
|
||||||
RewriteRule "(generate)?_?204" / [R=204,L]
|
RewriteRule "(generate)?_?204" / [R=204,L]
|
||||||
|
|
||||||
RewriteCond %{HTTPS} off
|
RewriteCond %{HTTPS} off
|
||||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||||
|
|
Loading…
Reference in a new issue