[Pkg-nginx-maintainers] Bug#822792: your mail

Elrond elrond+bugs.debian.org at samba-tng.org
Thu Nov 10 12:35:12 UTC 2016


Hi,


On Wed, Nov 09, 2016 at 18:47:15 -0600, Michael Lustfield wrote:
[...]
> "Example: /etc/nginx/conf.d/pkg_drupal8.conf"
> 
> In this case, I'd say go ahead and provide /etc/nginx/conf.d/pkg_php-fpm.conf
> which would include "upstream _provider_php { ... }". This shouldn't be a
> problem unless someone tries to install multiple "php providers."
> 
> I'd like to get something like _provider_php available via php-fpm as well as
> uwsgi-plugin-php.

Okay, so if an admin only wants to handle local .php files
on the default server they have to:

1. Install php-fpm, which then would hopefully bring
   /etc/nginx/conf.d/pkg_php-fpm.conf

2. Create /etc/nginx/apps.d/local_php.conf
   containing a global .php -> _provider_php entry

Did I get that right?


> Doing it this way would reduce security, but I'm thinking it's to a very
> negligible degree and not very concerned.

Could you elaborate on the security issues?


> > 2. Do we have recommended naming for files added by the
> >    local admin to apps.d?
> 
> We could suggest custom_<foo>.conf.

local_<foo>.conf?


Cheers

Elrond



More information about the Pkg-nginx-maintainers mailing list