initial commit
This commit is contained in:
35
meinetu.at.conf
Normal file
35
meinetu.at.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
# -*-nginx-*-
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name meinetu.at www.meinetu.at;
|
||||
root /srv/welcome;
|
||||
location /.well-known {
|
||||
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;
|
||||
|
||||
# auth_ldap "FET Login";
|
||||
# auth_ldap_servers fet;
|
||||
root /srv/meinetu;
|
||||
|
||||
# root /srv/welcome;
|
||||
location / {
|
||||
return 503;
|
||||
index index.html;
|
||||
}
|
||||
location /.well-known {
|
||||
allow all;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user