OTA Endpoint Impruvements

This commit is contained in:
2020-07-15 12:54:45 +02:00
parent 275aa97688
commit 1996b08311
7 changed files with 69 additions and 478 deletions

View File

@@ -2,6 +2,7 @@ RewriteEngine On
# require https
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/api/update
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#token to HTTP_AUTHORIZATION