Serving different routes depending the port webserver serves my applciation in laravel.
Dimitrios Desyllas

Dimitrios Desyllas @pcmagas

About: Greedings I am Dimitrios Desyllas aka pc_magas. I am a php software engineer. I am interested in privacy enhancing technologies, cryptography and reverse engineering.

Location:
Acharnes, Greece
Joined:
Aug 29, 2019

Serving different routes depending the port webserver serves my applciation in laravel.

Publish Date: Jun 25 '24
1 0

Dude check this out:

In my case I want to create a small monolith but:

  • Admin panel will be served upon port 8443
  • Normal app will be served upon port 80/443

I am using laravel 11 and the route config resides on different files:

  • routes/admin.php for admin panel
  • routes/web.php for the normal application

But…

I managed to serve a same application with different routes depending the port that webserver serves the application.

Comments 0 total

    Add comment