Hi,
as more and more of us is using nginx, wouldn't be nice
to start to have a "way" to include easily sample configs
of our www apps into nginx?
I would imagine similar thing which is done with PHP extensions.
/etc/nginx/include/drupal7.conf ->
/var/www/etc/nginx/include-sample/drupal7.conf
If we would like to have something like this we would need:
* some glue from base to be included in www ports, like it is
done in php.port.mk
* create special dir under /etc/nginx - 'include' ?
* create special dir in webroot - /var/www/etc/nginx/include-sample ?
But some apps install into webroot, some some into $webroot/htdocs,
and ask an user to create symlink. nginx would not need to have
access to www app dir at all as it is forwarding to php-fpm.
* update couple of www ports
I'm not nginx guru but drupal7 and mediawiki are working
ok.
Any comments?
jirib