Simplify letsencrypt
This commit is contained in:
@@ -5,13 +5,7 @@ server {
|
||||
listen 80;
|
||||
server_name triton.fet.at www.triton.fet.at triton.local;
|
||||
|
||||
location /.well-known {
|
||||
root /srv/welcome;
|
||||
allow all;
|
||||
}
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
include snippets/letsencrypt.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
@@ -21,8 +15,8 @@ server {
|
||||
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/welcome/build;
|
||||
|
||||
Reference in New Issue
Block a user