Skip to content
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

Merged
merged 5 commits into from
Apr 23, 2023

Conversation

vajonam
Copy link
Sponsor Contributor

@vajonam vajonam commented Apr 19, 2023

adding an example of subdomain reverse proxy for nginx

adding an example of subdomain reverse proxy for nginx
@netlify
Copy link

netlify bot commented Apr 19, 2023

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit 304ed44
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/6445242adeb71a0008ecb96d
😎 Deploy Preview https://deploy-preview-6159--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

docs/docs/guides/reverse_proxy.md Outdated Show resolved Hide resolved
Comment on lines 92 to 132
```

# ------------------------------------------------------------
# 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;
}

}
```
Copy link
Sponsor Collaborator

@NickM-27 NickM-27 Apr 19, 2023

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

Copy link
Sponsor Contributor Author

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.

docs/docs/guides/reverse_proxy.md Outdated Show resolved Hide resolved
vajonam and others added 3 commits April 19, 2023 11:11
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.
NickM-27
NickM-27 previously approved these changes Apr 19, 2023
@blakeblackshear blakeblackshear merged commit ba6794f into blakeblackshear:master Apr 23, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants