2023-05-11 19:03:34 -04:00
|
|
|
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 / {
|
2023-05-21 19:33:10 -04:00
|
|
|
proxy_pass "http://localhost:10000/";
|
2023-05-11 19:03:34 -04:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
}
|
2023-05-21 19:33:10 -04:00
|
|
|
|
|
|
|
location /webcontrol/ {
|
|
|
|
proxy_pass "http://localhost:10001/";
|
|
|
|
}
|
2023-05-11 19:03:34 -04:00
|
|
|
}
|