mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-23 15:56:05 +02:00
Remove rewriteengine
This commit is contained in:
@@ -7,17 +7,10 @@ server {
|
|||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
|
||||||
proxy_connect_timeout 30m;
|
proxy_connect_timeout 30m;
|
||||||
proxy_send_timeout 30m;
|
proxy_send_timeout 30m;
|
||||||
proxy_read_timeout 30m;
|
proxy_read_timeout 30m;
|
||||||
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteCond %{HTTP:Connection} Upgrade [NC]
|
|
||||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
|
||||||
RewriteRule /(.*) ws://127.0.0.1:8081/$1 [P,L]
|
|
||||||
|
|
||||||
proxy_pass http://backend/%%path%%/ui/;
|
proxy_pass http://backend/%%path%%/ui/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user