Simplify letsencrypt
This commit is contained in:
@@ -3,13 +3,7 @@ server {
|
||||
listen 80;
|
||||
server_name wp2.triton.fet.at www.wp2.triton.fet.at;
|
||||
|
||||
location /.well-known {
|
||||
root /srv/welcome;
|
||||
allow all;
|
||||
}
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
include snippets/letsencrypt.conf;
|
||||
}
|
||||
|
||||
upstream triamp2 {
|
||||
@@ -23,7 +17,6 @@ server {
|
||||
ssl_certificate /etc/letsencrypt/live/wp.triton.fet.at/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/wp.triton.fet.at/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/wp.triton.fet.at/chain.pem;
|
||||
|
||||
include snippets/ssl.conf;
|
||||
|
||||
satisfy any;
|
||||
|
||||
Reference in New Issue
Block a user