ansible/roles/docker/templates/mii/swag/site-confs/homeassistant.subdomain.conf

21 lines
487 B
Plaintext
Raw Normal View History

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 }};
}
}