Simplify letsencrypt
This commit is contained in:
@@ -7,24 +7,18 @@ server {
|
||||
listen 80;
|
||||
server_name sql.triton.fet.at www.sql.triton.fet.at;
|
||||
|
||||
location /.well-known {
|
||||
root /srv/pxy/wptriton;
|
||||
allow all;
|
||||
}
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
include snippets/letsencrypt.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen 443 ssl http2;
|
||||
server_name sql.triton.fet.at www.sql.triton.fet.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;
|
||||
|
||||
location / {
|
||||
|
||||
Reference in New Issue
Block a user