-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding instructions for Nginix reverse proxy #6159
Conversation
adding an example of subdomain reverse proxy for nginx
✅ Deploy Preview for frigate-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
docs/docs/guides/reverse_proxy.md
Outdated
``` | ||
|
||
# ------------------------------------------------------------ | ||
# frigate.domain.com | ||
# ------------------------------------------------------------ | ||
|
||
|
||
server { | ||
set $forward_scheme http; | ||
set $server "192.168.100.2"; # FRIGATE SERVER NAME | ||
set $port 5000; | ||
|
||
listen 80; | ||
|
||
listen 443 ssl http2; | ||
|
||
|
||
server_name frigate.domain.com; | ||
|
||
|
||
# Let's Encrypt SSL | ||
include conf.d/include/letsencrypt-acme-challenge.conf; | ||
include conf.d/include/ssl-ciphers.conf; | ||
ssl_certificate /etc/letsencrypt/live/npm-1/fullchain.pem; | ||
ssl_certificate_key /etc/letsencrypt/live/npm-1/privkey.pem; | ||
|
||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection $http_connection; | ||
proxy_http_version 1.1; | ||
|
||
access_log /data/logs/proxy-host-40_access.log proxy; | ||
error_log /data/logs/proxy-host-40_error.log warn; | ||
|
||
location / { | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection $http_connection; | ||
proxy_http_version 1.1; | ||
} | ||
|
||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good to see more comments explaining each of these fields and what they do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay I will add these changes.
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
add more information on each of the reverse proxy sections.
adding an example of subdomain reverse proxy for nginx