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:
parent
9d430fa02c
commit
c7a8e75353
@ -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};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user