roadrunner-php / laravel-bridge

πŸŒ‰ RoadRunner ⇆ Laravel bridge πŸ‡ΊπŸ‡¦β€οΈ
https://roadrunner.dev/docs/integration-laravel
MIT License
372 stars 25 forks source link

How ican use this with caddy webserver #119

Closed vahidalvandi closed 1 year ago

vahidalvandi commented 1 year ago

If you have any questions feel free to ask How ican use this with caddy webserver

tarampampam commented 1 year ago

Could you explain what exactly you mean?

vahidalvandi commented 1 year ago

I use caddy insted of ngnix . Because caddy have ssl in native

tarampampam commented 1 year ago

You can use any proxy server in front of the RoadRunner, of course πŸ˜„ Or do you have a problem with it?

vahidalvandi commented 1 year ago

Just As I researched, is roadrunner just an alternative to php-fpm? And if I send the docker file of my project, would it help you to make it work with roadrunner?

tarampampam commented 1 year ago

Not quite like that. RoadRunner is the application server at first, it means you do not need an Nginx or something like that to serve the HTTP requests - RR does it yourself out of the box. All that you may need is a proxy server for automatic SSL certs (with the requests proxying to the RR) kinda Caddy, Traefik, Nginx + certbot, or something like that on your choice.

About your second question - did you look here? https://github.com/tarampampam/laravel-roadrunner-in-docker

tarampampam commented 1 year ago

Can I close this issue?

vahidalvandi commented 1 year ago

I was confused. Do you think I can have caddy or ngnix like before and use the reverse proxy method from the roadrunner port?

tarampampam commented 1 year ago

Yes, sure. This is a very common use case

vahidalvandi commented 1 year ago

Thank you I work it