mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Add missing proxy_pass directive to nginx documentation
Adds a proxy_pass directive to the nginx reverse proxy documentation. This directive is the necessary and seems to have been accidentally omitted. Also removes deprecated http2 parameter from listen directive.
This commit is contained in:
parent
0504e9ef79
commit
001bb09009
@ -117,7 +117,7 @@ server {
|
||||
set $port 8971;
|
||||
|
||||
listen 80;
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
|
||||
server_name frigate.domain.com;
|
||||
}
|
||||
@ -151,6 +151,8 @@ The settings below enabled connection upgrade, sets up logging (optional) and pr
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
proxy_pass $forward_scheme://$server:$port;
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user