diff options
author | Vincent Ambo <vincent@kivra.com> | 2016-03-03T22·05+0100 |
---|---|---|
committer | Vincent Ambo <vincent@kivra.com> | 2016-03-03T22·05+0100 |
commit | 0a10a4487af31eab0ee74f2d9dd3834764c6b79b (patch) | |
tree | 9884d7fa94060878cb5ebc98e8d0b1e0076d0e97 /nginx | |
parent | 47ddea263254ae4af52037f795c4842971cc23f3 (diff) |
[nginx] Add oslo.pub redirect
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/server.conf | 7 |
1 files changed, 7 insertions, 0 deletions
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; |