server { listen *:443 ssl; server_name "frigate.homelab.net"; ssl_certificate "/certs/homelab.net/homelab.net.crt"; ssl_certificate_key "/certs/homelab.net/homelab.net.key"; location / { proxy_pass "http://localhost:10000/"; proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location /webcontrol/ { proxy_pass "http://localhost:10001/"; } }