dunglas / symfony-docker

A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.
https://dunglas.dev/2021/12/symfonys-new-native-docker-support-symfony-world/
2.6k stars 778 forks source link

API does not found the routes on mode production #168

Closed djorellanabmrb closed 3 years ago

djorellanabmrb commented 3 years ago

Hey everyone,

I developed an API with your template, but I have a problem, When the application is deployed on mode "dev", all routes are founded, but when is changed on mode "prod" does not work (i.e. the routes are not founded, error 404).

Also I have another question, how do you create JWT of the Mercure.

Greeting!

maxhelias commented 3 years ago

Hey!

We can't help you to debug your routes. You probably missed your Symfony configuration or a leftover cache, something like that.

For JWT generation, you can use : https://jwt.io/

Edit : You can find more help on the Symfony Slack on #support channel

djorellanabmrb commented 3 years ago

You are right, it was failed on my environment file (.env) !