connectivity-check/.htaccess

10 lines
256 B
ApacheConf
Raw Normal View History

2019-08-22 21:29:03 +00:00
RewriteEngine On
2019-08-30 15:55:47 +00:00
Header always set "X-NetworkManager-Status" "online"
2019-08-22 21:29:03 +00:00
RewriteCond "%{REQUEST_FILENAME}" "(generate)?_?204"
RewriteRule "(generate)?_?204" / [R=204,L]
RewriteCond %{HTTPS} off
2019-08-30 15:55:47 +00:00
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]