Monday, February 17, 2014

Re: Serving assets from nginx static server in cakephp 2.x

Hi!

Thank you very much, finally i solved the problem.

In the NAS i created a static folder with the symlinks i needed like:

ls -l /mynas/static/

css -> /app/webroot/css/
myplugin -> /app/Plugin/MyPlugin/img/

and in nginx i changed my config DocumentRoot to /mynas/static

Cheers!

El viernes, 14 de febrero de 2014 21:36:51 UTC+1, AD7six escribió:
Why not simply symlink you plugin webroot as indicated in the docs?

AD

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: