sciabarracom opened a new issue, #53:
URL: https://github.com/apache/openserverless/issues/53

   The runtime proxy (repo: apache/openserverless-runtime) will support proxy 
with a main in this format:
   
   ```
   <main>@<proxy>
   ```
   
   so you provide for example `--main=m...@vastai.nuvolaris.io` the runtime 
will behave as follow:
   
   - at init, instead of spawning a new executor will simply make a connection 
to `vastai.nuvolaris.io` and execute the init posting the payload
   - at run, instead of sending requests to the executor will send them to the 
remote one.
   
   Some notes on the sintax:
   
   - `@<proxy>` allows for the default main, so if you provide 
`--main=@<proxy>` it shold forward the request as no main was provide using the 
defailt for the runtimes
   - if the `<proxy>` is in the format of an internet domain `xxx.yyy.zzz` the 
forwarding should happen with https:  protocol, howerver if you use 
`http://xxx.yyy.zzz` the forwarding should happen using the http protocol
   
   To awoid security issues, enable the beaviour only if the the variable 
`OW_USE_PROXY_MAIN` is provided, so we will build a proxy image (that will be 
just the proxy without anything else)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@openserverless.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to