Answer the question
In order to leave comments, you need to log in
How to configure database connection in nginx config?
Good evening everyone. How to transfer some application settings to nginx? In searches on the Internet, I came across such a solution, add variables to the nginx config
fastcgi_param APP_ENV prod;
fastcgi_param APP_SECRET some_new_secret_123;
fastcgi_param APP_DEBUG 0;
fastcgi_param DATABASE_URL "mysql://user:[email protected]:3306/symfony";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question