fixed vhost config and ssl trusted certs
This commit is contained in:
parent
6d75684a40
commit
6d087a3938
2 changed files with 3 additions and 2 deletions
|
|
@ -38,6 +38,9 @@ server {
|
|||
proxy_hide_header Server;
|
||||
proxy_hide_header X-AspNetMvc-Version;
|
||||
proxy_hide_header X-AspNet-Version;
|
||||
|
||||
# no double headers
|
||||
proxy_hide_header Strict-Transport-Security;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
|
|
@ -50,7 +53,6 @@ server {
|
|||
{% if vhost.letsencrypt|d(False) %}
|
||||
ssl_certificate /etc/ssl/letsencrypt_{{ vhost_name }}_chained.crt;
|
||||
ssl_certificate_key /etc/ssl/private/letsencrypt_{{ vhost_name }}.key;
|
||||
ssl_trusted_certificate /etc/ssl/letsencrypt_full_chain.crt;
|
||||
ssl_stapling_verify on;
|
||||
ssl_stapling on;
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue