Simplify letsencrypt
This commit is contained in:
@@ -3,13 +3,7 @@ server {
|
||||
listen 80;
|
||||
server_name www.mail.fet.at mail.fet.at fet.htu.tuwien.ac.at;
|
||||
|
||||
location /.well-known {
|
||||
root /srv/pxy/mail.fet.at;
|
||||
allow all;
|
||||
}
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
include snippets/letsencrypt.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
@@ -19,8 +13,8 @@ server {
|
||||
ssl_certificate /etc/letsencrypt/live/www.mail.fet.at/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/www.mail.fet.at/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/www.mail.fet.at/chain.pem;
|
||||
|
||||
include snippets/ssl.conf;
|
||||
|
||||
# include snippets/ldap.conf;
|
||||
|
||||
location / {
|
||||
@@ -30,7 +24,6 @@ server {
|
||||
# proxy_redirect https://mail.fet.at:8000/ https://mail.fet.at:443/;
|
||||
# proxy_redirect https://$host:8000/ https://$host:443/;
|
||||
include snippets/proxy_header.conf;
|
||||
# index index.html;
|
||||
}
|
||||
location /http {
|
||||
index index.html;
|
||||
|
||||
Reference in New Issue
Block a user