mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 02:35:22 +03:00
cleanup
This commit is contained in:
parent
9b5a21b29c
commit
304ed44966
@ -85,7 +85,7 @@ There are many ways to authenticate a website but a straightforward approach is
|
|||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Nginix Reverse Proxy
|
## Nginx Reverse Proxy
|
||||||
|
|
||||||
This method shows a working example for subdomain type reverse proxy with SSL enabled.
|
This method shows a working example for subdomain type reverse proxy with SSL enabled.
|
||||||
|
|
||||||
@ -94,27 +94,20 @@ This method shows a working example for subdomain type reverse proxy with SSL en
|
|||||||
This is set in `$server` and `$port` this should match your ports you have exposed to your docker container. Optionally you listen on port `443` and enable `SSL`
|
This is set in `$server` and `$port` this should match your ports you have exposed to your docker container. Optionally you listen on port `443` and enable `SSL`
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# frigate.domain.com
|
# frigate.domain.com
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
set $forward_scheme http;
|
set $forward_scheme http;
|
||||||
set $server "192.168.100.2"; # FRIGATE SERVER LOCATION
|
set $server "192.168.100.2"; # FRIGATE SERVER LOCATION
|
||||||
set $port 5000;
|
set $port 5000;
|
||||||
|
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
|
||||||
|
|
||||||
server_name frigate.domain.com;
|
server_name frigate.domain.com;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Setup SSL (optional)
|
### Setup SSL (optional)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user