On Fri, Dec 16, 2022 at 11:23 AM Mike Lieberman <mike@netwright.net> wrote:
>
> On Fri, 2022-12-16 at 15:59 +0000, Francis Daly wrote:
>
> > On Fri, Dec 16, 2022 at 04:27:15PM +0800, Mike Lieberman wrote:
> >
> > You have configured your nginx to listen on port 80 on all IP addresses.
> >
> > You have configured your apache to listen on port 80 on all IP addresses.
> >
> > They can't both do that at the same time.
> >
> > The first one works, the other one fails.
> >
> > If you want both to be running, you must configure them to listen on
> > different IP:ports from each other.
>
> Actually, I didn't configure it on any port. I was following a guide in https://www.linuxcapable.com/how-to-install-nginx-with-lets-encrypt-tls-ssl-on-debian-11-bullseye. However I can't get brotli to be accepted in /etc/nginx/nginx.conf (as specified in the guide) and nginx you say I have it looking at port 80, but (a) I don't [at least not by my direction] and the guide does not specify anything regarding that. Clearly the guide is wrong and I will have to find another way to approach this.
If 80 and 443 are in use, you typically move on to the next set of
well known ports, like 8080 and 8443. Or you can use random port
numbers. You can move Apache or Nginx.
Jeff
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx