Add labor and protect alt.fet.at behind LDAP
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user