From 70951b1c23510043c6f321281ff3b80096fc4502 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Wed, 28 Sep 2016 01:46:45 +0100 Subject: nginx revision with mantisbt --- tools/conf/etc/nginx/conf.d/10-default.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/conf/etc/nginx/conf.d/10-default.conf (limited to 'tools/conf/etc/nginx/conf.d/10-default.conf') diff --git a/tools/conf/etc/nginx/conf.d/10-default.conf b/tools/conf/etc/nginx/conf.d/10-default.conf new file mode 100644 index 0000000..97ee31b --- /dev/null +++ b/tools/conf/etc/nginx/conf.d/10-default.conf @@ -0,0 +1,8 @@ +## +# Virtual Host Redirection 80 to 443 +## +server { + listen 80 default_server; + server_name _; + return 301 https://$host$request_uri; +} -- cgit 1.4.1-2-gfad0