Explorar el Código

pass GET parameters too

This fixes parameters not being passed to the provisioning api
pull/1674/head
Luis hace 4 años
committed by GitHub
padre
commit
833ac506fe
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      roles/matrix-bridge-hookshot/tasks/init.yml

+ 2
- 2
roles/matrix-bridge-hookshot/tasks/init.yml Ver fichero

@@ -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/v1/$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 }}/v1/$1;
proxy_pass http://127.0.0.1:{{ matrix_hookshot_provisioning_port }}/v1/$1$is_args$args;
{% endif %}
proxy_set_header Host $host;
}


Cargando…
Cancelar
Guardar