问题
My project requires to set up symfony with Nginx server. I have previously used Symfony with Apache. Currently I have followed the steps mentioned here http://wiki.nginx.org/index.php?title=Symfony&oldid=6054 ,but somehow it is not running properly.
Update: The nginx wiki now contains working configuration for symfony 1.4 and 2.0
回答1:
Here is a working symfony nginx config.
It is based on Ubuntu/Debian installations, please comment/edit at the linked post if conversion to another platform might be required.
Edit: The error mentioned in the comments has been fixed in the linked answer.
来源:https://stackoverflow.com/questions/6706745/setting-up-symfony-with-nginx-server