summaryrefslogtreecommitdiffstats
path: root/etc/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nginx.conf')
-rw-r--r--etc/nginx.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/nginx.conf b/etc/nginx.conf
index b8e3fd0..5cbbeeb 100644
--- a/etc/nginx.conf
+++ b/etc/nginx.conf
@@ -90,6 +90,21 @@ server {
90} 90}
91 91
92# 92#
93# Our plugins/t/check_http.t checks <http://test.monitoring-plugins.org/>.
94#
95server {
96 listen 130.133.8.40:80;
97 server_name test.monitoring-plugins.org;
98 root /home/plugins/web/site;
99 location ~ ^/(?:index.html)?$ {
100 # Serve index.html.
101 }
102 location / {
103 return 301 https://www.monitoring-plugins.org$request_uri;
104 }
105}
106
107#
93# Redirect HTTP and all other domains to <https://www.monitoring-plugins.org/>. 108# Redirect HTTP and all other domains to <https://www.monitoring-plugins.org/>.
94# Ditto for the test instance. 109# Ditto for the test instance.
95# 110#