32 lines
685 B
Nginx Configuration File
32 lines
685 B
Nginx Configuration File
# -*-nginx-*-
|
|
server {
|
|
listen 80;
|
|
server_name meinetu.at www.meinetu.at;
|
|
|
|
location /.well-known {
|
|
root /srv/welcome;
|
|
allow all;
|
|
}
|
|
location / {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name meinetu.at www.meinetu.at;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/triton.fet.at/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/triton.fet.at/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/triton.fet.at/chain.pem;
|
|
|
|
include snippets/ssl.conf;
|
|
# include snippets/ldap.conf
|
|
|
|
root /srv/meinetu;
|
|
location / {
|
|
return 503;
|
|
index index.html;
|
|
}
|
|
}
|