Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to dump Symfony2 routes to nginx?

Tags:

php

nginx

symfony

I have read that I should dump symfony2 routes into my web server to bypass the symfony2 router, for performance. I found an example for apache.

How would you go about doing this for nginx?

like image 773
ChocoDeveloper Avatar asked Nov 15 '12 12:11

ChocoDeveloper


1 Answers

Currently, because of the way nginx is built, this is not possible. https://github.com/symfony/symfony/issues/2432

like image 134
james_t Avatar answered Oct 15 '22 15:10

james_t