1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-27 13:48:49 +08:00

fix nginx, channel connect (#1136)

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
This commit is contained in:
Mirko Teodorovic 2020-04-22 18:59:50 +02:00 committed by GitHub
parent 9d430fa02c
commit c7a8e75353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ http {
} }
# Proxy pass to things service # Proxy pass to things service
location ~ ^/(things|channels) { location ~ ^/(things|channels|connect) {
include snippets/proxy-headers.conf; include snippets/proxy-headers.conf;
add_header Access-Control-Expose-Headers Location; add_header Access-Control-Expose-Headers Location;
proxy_pass http://things:${MF_THINGS_HTTP_PORT}; proxy_pass http://things:${MF_THINGS_HTTP_PORT};