From 0a10a4487af31eab0ee74f2d9dd3834764c6b79b Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 3 Mar 2016 23:05:43 +0100 Subject: [PATCH] [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 269c519bf..335b6b7fd 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;