Re: Spawning nginx instance on demand

Nicolas George <[email protected]>
Newsgroups gmane.linux.debian.user
Message-ID <[email protected]>
Andre Rodier (HE12026-05-31):
> Yes, I can use a search engine too, found the same kind of results, and they're not really helpful.

At this point, what is not really helpful is you saying the results are
not really helpful.

What you should be saying instead is (1) what search result you used,
(2) what you tried exactly and (3) hot it failed.

> I can detail more what I have so far, then.
> 
> - I have one nginx instance, running as a system systemd service, usng basic authentication (on pam).
> - I have nginx user instances for each user (used as webdav servers)
> - The system server uses proxy_pass directive to dispatch queries to each user’s nginx instance.

To prove you are not having a XY problem, you need to explain why you
think an instance of nginx per user is preferable to the built-in
mechanism it offers for dav.

> I tested the socket activation, and the systemd logic is working, i.e. it is calling the user systemd service.
> BUT, the user service fails to start, because the socket is own by systemd.

As said above, you need to show exactly what you did and how it failed.

Regards,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.