mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update ingress.conf
This commit is contained in:
@@ -55,4 +55,11 @@ server {
|
||||
deny all;
|
||||
proxy_pass http://127.0.0.1:80;
|
||||
}
|
||||
|
||||
location ~* ^(.*)/api/hassio_ingress/.*(/api/hassio_ingress/.*)$ {
|
||||
allow 172.30.32.2;
|
||||
deny all;
|
||||
redirect $1$2;
|
||||
proxy_pass http://127.0.0.1:80;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user