summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-01-20 00:56:45 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-01-20 00:56:45 (GMT)
commit7ef7c0bff080959825185a03d558d806888a91a5 (patch)
treea4bc0e392611fda65d5ae734457af50d30adfe4d /etc
parentd2fbe2895ac8d73c7661520b598034681bdbf24a (diff)
downloadsite-7ef7c0bff080959825185a03d558d806888a91a5.tar.gz
Nginx: Serve http://test.monitoring-plugins.org/
Our plugins/t/check_http.t checks <http://test.monitoring-plugins.org/>.
Diffstat (limited to 'etc')
-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#