Skip to content

Instantly share code, notes, and snippets.

@jessuppi
Created October 4, 2019 12:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessuppi/8d068d97d3c58b42de8859f686e65728 to your computer and use it in GitHub Desktop.
Save jessuppi/8d068d97d3c58b42de8859f686e65728 to your computer and use it in GitHub Desktop.
Monit Nginx Server Block Rules
#### MONIT PANEL ####
location /monit/ {
rewrite ^/monit/(.*) /$1 break;
proxy_ignore_client_abort on;
proxy_pass https://127.0.0.1:2812;
proxy_set_header Host $host;
proxy_redirect https://127.0.0.1:2812 /monit;
}
@jessuppi
Copy link
Author

jessuppi commented Oct 4, 2019

Save first comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment