From 0a10a4487af31eab0ee74f2d9dd3834764c6b79b Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 3 Mar 2016 23:05:43 +0100 Subject: [nginx] Add oslo.pub redirect --- nginx/server.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx/server.conf b/nginx/server.conf index 269c519bff1f..335b6b7fd1fb 100644 --- a/nginx/server.conf +++ b/nginx/server.conf @@ -39,6 +39,13 @@ server { return 200 "$remote_addr\n"; } +# Redirect for oslo.pub +server { + listen 80; + server_name oslo.pub *.oslo.pub; + return 302 https://git.tazj.in/tazjin/pubkartet; +} + # TazBlog server { listen 443 ssl http2 default_server; -- cgit 1.4.1