50 lines
1.1 KiB
Nginx Configuration File
50 lines
1.1 KiB
Nginx Configuration File
# -*-nginx-*-
|
|
server {
|
|
listen 80;
|
|
server_name corona.fet.at;
|
|
|
|
include snippets/letsencrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
server_name corona.fet.at;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/corona.fet.at/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/corona.fet.at/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/corona.fet.at/chain.pem;
|
|
include snippets/ssl.conf;
|
|
|
|
include snippets/header.conf;
|
|
|
|
location / {
|
|
return 302 https://fet.at/posts/covid19;
|
|
}
|
|
location /anwesenheit {
|
|
proxy_pass http://proteus;
|
|
include snippets/proxy_header.conf;
|
|
}
|
|
location /da {
|
|
proxy_pass http://proteus;
|
|
include snippets/proxy_header.conf;
|
|
}
|
|
location /da/daten {
|
|
proxy_pass http://proteus;
|
|
include snippets/proxy_header.conf;
|
|
|
|
include snippets/ldap.conf;
|
|
}
|
|
|
|
location /LVA {
|
|
proxy_pass http://proteus;
|
|
include snippets/proxy_header.conf;
|
|
}
|
|
location /LVA/LVAs {
|
|
proxy_pass http://proteus;
|
|
include snippets/proxy_header.conf;
|
|
|
|
include snippets/ldap.conf;
|
|
}
|
|
|
|
}
|