I would like to test an application server (e.g Swoole/Roadrunner
) on an Azure Web App. I have set up the Azure Web App
successfully. I am able to access it on azurewebapp.azurewebsites.net.
I have set up RoadRunner on the same web app linux container to serve the Laravel app. It is running ok at 127.0.0.1:8000
. I am able to access this url from another terminal instance using lynx and I can see the logs ok.
How to I redirect requests from azurewebapp.azurewebsites.net
to be served by the Roadrunner powered app-running at the linux app localhost?
I had tried using proxy modules in apache, but given the way the Azure Web App is configured I am unable to persist changes to the /etc/apache2
folders as it is outside /home
.
Is there a way to do this via AZ Frontdoor
or Application Gateway
in Azure or any other way.
Thank you.