浏览代码

Merge pull request #1672 from Procuria/fix-issue-208

Fix empty body for GET requests in hookshot-bridge
pull/1673/head
Slavi Pantaleev 4 年前
committed by GitHub
父节点
当前提交
950f4d5700
找不到此签名对应的密钥 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 查看文件

@@ -68,10 +68,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_webhook_port }}";
proxy_pass http://$backend/$1;
proxy_pass http://$backend/$1$is_args$args;
{% else %}
{# Generic configuration for use outside of our container setup #}
proxy_pass http://127.0.0.1:{{ matrix_hookshot_webhook_port }}/$1;
proxy_pass http://127.0.0.1:{{ matrix_hookshot_webhook_port }}/$1$is_args$args;
{% endif %}
proxy_set_header Host $host;
}


正在加载...
取消
保存