소스 검색

Merge pull request #1674 from luismanson/patch-2

fix hookshot provisioning url in nginx
pull/835/merge
Slavi Pantaleev 4 년 전
committed by GitHub
부모
커밋
ffdd949521
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      roles/matrix-bridge-hookshot/tasks/init.yml

+ 2
- 2
roles/matrix-bridge-hookshot/tasks/init.yml 파일 보기

@@ -55,10 +55,10 @@
{# Use the embedded DNS resolver in Docker containers to discover the service #}
resolver 127.0.0.11 valid=5s;
set $backend "{{ matrix_hookshot_container_url }}:{{ matrix_hookshot_provisioning_port }}";
proxy_pass http://$backend/$1;
proxy_pass http://$backend/v1/$1$is_args$args;
{% else %}
{# Generic configuration for use outside of our container setup #}
proxy_pass http://127.0.0.1:{{ matrix_hookshot_provisioning_port }}/$1;
proxy_pass http://127.0.0.1:{{ matrix_hookshot_provisioning_port }}/v1/$1$is_args$args;
{% endif %}
proxy_set_header Host $host;
}


불러오는 중...
취소
저장