Re: Spawning nginx instance on demand

Dan Ritter <[email protected]>
Newsgroups gmane.linux.debian.user
Message-ID <[email protected]>
Andre Rodier wrote: 
> On Sun May 31, 2026 at 6:42 PM BST, Nicolas George wrote:
> >
> > But if you need to start 100 instances of nginx and are looking how to
> > achieve it, you probably have an XY problem where you mistakenly assumed
> > you need 100 instances of nginx to achieve your real goal. But you have
> > not share your real goal.
> >
> - 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)


> ~~~
> proxy_pass http://unix:/var/tmp/webdav-user/$remote_user/socket;
> root /home/$remote_user/webdav/root;
> autoindex on;
> ~~~

Why don't you just have a single system nginx run all these via
a location or such?

-dsr-
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.