Add labor and protect alt.fet.at behind LDAP

This commit is contained in:
root
2020-05-12 11:33:53 +02:00
parent fa49b11697
commit 3db6eadd83
3 changed files with 6 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ server {
ssl_trusted_certificate /etc/letsencrypt/live/www.alt.fet.at/chain.pem; ssl_trusted_certificate /etc/letsencrypt/live/www.alt.fet.at/chain.pem;
include snippets/ssl.conf; include snippets/ssl.conf;
include snippets/ldap.conf;
location = / { location = / {
return 301 https://$host/twiki/bin/view/Homepage; return 301 https://$host/twiki/bin/view/Homepage;
} }

View File

@@ -54,4 +54,7 @@ server {
location ~ ^/(alt|twiki) { location ~ ^/(alt|twiki) {
return 302 https://www.alt.fet.at$request_uri; return 302 https://www.alt.fet.at$request_uri;
} }
location ~ ^/(labor) {
return 302 https://www.fet.at/themen/8;
}
} }

View File

@@ -1,7 +1,7 @@
# -*-nginx-*- # -*-nginx-*-
server { server {
listen 80; listen 80;
server_name wp.triton.fet.at; server_name wp.triton.fet.at www.wp.triton.fet.at;
include snippets/letsencrypt.conf; include snippets/letsencrypt.conf;
} }