Created
October 4, 2019 12:03
-
-
Save jessuppi/8d068d97d3c58b42de8859f686e65728 to your computer and use it in GitHub Desktop.
Monit Nginx Server Block Rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### 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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save first comment