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:
Stephen McCarthy 2024-08-16 08:42:59 -07:00 committed by GitHub
parent 0504e9ef79
commit 001bb09009
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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