@@ -0,0 +1,20 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
server_name {{ hass_host }}.{{ backup_domain }};
|
||||
|
||||
include /config/nginx/ssl.conf;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
include /config/nginx/resolver.conf;
|
||||
proxy_pass http://{{ hass_host }}.{{ pi_host }}.{{ local_domain }};
|
||||
}
|
||||
|
||||
location ~ ^/(api|local|media)/ {
|
||||
include /config/nginx/resolver.conf;
|
||||
proxy_pass http://{{ hass_host }}.{{ pi_host }}.{{ local_domain }};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user