Hi, i would enable some folders under the nginx webroot tree to using phalcon, leaving the others with the "simple"php support. For example, under "mynginxserver.intranet", I have a folders structure like this:
nginx_document_root | +---- normal_php_application_1 | | | +---- "some files & folders" | +---- phalcon_enabled_application | | | +---- "phalcon folders structure" | +---- normal_php_application_2 | +---- "some files & folders"
so, I can refer to the applications with these urls:
http://mynginxserver.intranet/normal_php_application_1 http://mynginxserver.intranet/phalcon_enabled_application http://mynginxserver.intranet/normal_php_application_2
With apache, this is quite simple to accomplish, but with ngix I cannot figure how to make the right configuration. This is mainly due to my low nginx configuration skills... Using the examples given in the phalcon documentation, I can enable ALL folders to use phalcon, but my attemps fails in achieving a behavior like the one described above... can anyone help me with this task? Thanks.