Created
March 1, 2016 17:40
-
-
Save IcaroBichir/c3db60e08e34f86c47a0 to your computer and use it in GitHub Desktop.
nginx configuration file for monit user interface
This file contains 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
server { | |
listen 80; | |
server_name monit.yourdomain.net; | |
return 301 https://monit.yourdomain.net$request_uri; | |
} | |
server { | |
listen 443 ssl; | |
server_name monit.yourdomain.net; | |
location / { | |
proxy_pass http://localhost:2812; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment