I had an Apache server and migrated it to nginx , for performance reasons . In apache, I had only edit the .htaccess arquvos and everything flowed perfectly fine.
On this server I have some folders with PHALCON projects and other simple PHP code.
Someone who understands the nginx configuration, give me a light, for this to work for both the Phalcon and for others PHP code ?
i think the way is
server {
root /bla/bla/bla;
location/ {
...
}
location /project_phalcon_one {
root /bla/bla/bla/phalcon/public; ??
}
location ...php{
...
}
location (images and else) {
...
}
}
Any idea will be appreciated.