소스 검색
Fix path when running in a container
pull/1189/head
Slavi Pantaleev
4 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
1개의 파일을 삭제
-
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-base-domain.conf.j2
|
|
|
@@ -1,7 +1,7 @@ |
|
|
|
#jinja2: lstrip_blocks: "True" |
|
|
|
|
|
|
|
{% macro render_vhost_directives() %} |
|
|
|
root {{ matrix_nginx_proxy_data_path }}/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_types text/plain application/json; |
|
|
|
|