Enable sync/async route to be pass-through without auth
server {
listen 8080;
+ location /async-function/ {
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header Host $http_host;
+ proxy_pass http://gateway:8080/async-function/;
+ }
+
+ location /function/ {
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header Host $http_host;
+ proxy_pass http://gateway:8080/function/;
+ }
location / {
proxy_set_header X-Real-IP $remote_addr;
