From 84c4a5d24cbef536b8248a3d8ff72bb2b4248c29 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sat, 5 Oct 2013 00:56:26 +0200 Subject: Add test instance of the web site Serve https://www.nagios-plugins.org:444/ from the "test" branch of this repository. --- etc/nginx/site.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'etc/nginx') diff --git a/etc/nginx/site.conf b/etc/nginx/site.conf index 432c051..9105591 100644 --- a/etc/nginx/site.conf +++ b/etc/nginx/site.conf @@ -14,8 +14,9 @@ # server { listen 443 ssl; + listen 444 ssl; server_name www.nagios-plugins.org; - root /home/plugins/web/site; + root /home/plugins/web/port-$server_port; # # Downloads and attachments. @@ -71,9 +72,15 @@ server { # # Redirect HTTP and all other domains to . +# Ditto for the test instance. # server { listen 80 default_server; listen 443 default_server ssl; return 301 https://www.nagios-plugins.org$request_uri; } +server { + listen 81 default_server; + listen 444 default_server ssl; + return 301 https://www.nagios-plugins.org:444$request_uri; +} -- cgit v1.2.3-74-g34f1