Переглянути джерело

root path for the base domain is wrong (#1189)

* root path for the base domain

* Fix path when running in a container

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
pull/1197/head
JokerGermany 4 роки тому
committed by GitHub
джерело
коміт
9345d840be
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 4AEE18F83AFDEB23
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-base-domain.conf.j2

+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-base-domain.conf.j2 Переглянути файл

@@ -1,7 +1,7 @@
#jinja2: lstrip_blocks: "True" #jinja2: lstrip_blocks: "True"


{% macro render_vhost_directives() %} {% macro render_vhost_directives() %}
root /nginx-data/matrix-domain;
root {{ matrix_nginx_proxy_data_path_in_container if matrix_nginx_proxy_enabled else matrix_nginx_proxy_data_path }}/matrix-domain;


gzip on; gzip on;
gzip_types text/plain application/json; gzip_types text/plain application/json;


Завантаження…
Відмінити
Зберегти