|
|
@@ -39,6 +39,7 @@ server { |
|
|
|
|
|
|
|
|
server_name {{ matrix_nginx_proxy_base_domain_hostname }}; |
|
|
server_name {{ matrix_nginx_proxy_base_domain_hostname }}; |
|
|
server_tokens off; |
|
|
server_tokens off; |
|
|
|
|
|
absolute_redirect off; |
|
|
|
|
|
|
|
|
{% if matrix_nginx_proxy_https_enabled %} |
|
|
{% if matrix_nginx_proxy_https_enabled %} |
|
|
location /.well-known/acme-challenge { |
|
|
location /.well-known/acme-challenge { |
|
|
@@ -68,6 +69,7 @@ server { |
|
|
|
|
|
|
|
|
server_name {{ matrix_nginx_proxy_base_domain_hostname }}; |
|
|
server_name {{ matrix_nginx_proxy_base_domain_hostname }}; |
|
|
server_tokens off; |
|
|
server_tokens off; |
|
|
|
|
|
absolute_redirect off; |
|
|
|
|
|
|
|
|
ssl_certificate {{ matrix_ssl_config_dir_path }}/live/{{ matrix_nginx_proxy_base_domain_hostname }}/fullchain.pem; |
|
|
ssl_certificate {{ matrix_ssl_config_dir_path }}/live/{{ matrix_nginx_proxy_base_domain_hostname }}/fullchain.pem; |
|
|
ssl_certificate_key {{ matrix_ssl_config_dir_path }}/live/{{ matrix_nginx_proxy_base_domain_hostname }}/privkey.pem; |
|
|
ssl_certificate_key {{ matrix_ssl_config_dir_path }}/live/{{ matrix_nginx_proxy_base_domain_hostname }}/privkey.pem; |
|
|
|