Suggest to configure Apache & Nginx BOTH
nitin chandra
nitinchandra1 at gmail.com
Sat Jun 3 10:10:20 UTC 2023
Thank you Karl,
I did a lot of research / search on the net wrt this issue. Yes, all
suggested the same as you.
I really could not find any reason ...even after checking the web
server logs, why it went down then
Ater putting a lot of thought into it, I shall also go the usual way.... to
keep only one web server.... Nginx
Thank you once again
Regards Nitin
On Sat, 3 Jun 2023 at 06:30, Karl Auer <kauer at biplane.com.au> wrote:
> On Sat, 2023-06-03 at 00:08 +0530, nitin chandra wrote:
> > Context :
> > A Couple of months ago, my nginx web server was configured to serve
> > our website and company erp, and it went down a couple of times. So
> > both were down.
> >
> > Current requirement :
> > To avoid a similar situation, where the website and erp don't go down
> > at the same time, I need to configure apache and nginx on the same
> > vps server.
>
> This feels like a bad solution, but without knowing more about WHY
> "both went down" it's hard to say.
>
> If you want to separate the ERP and website, you would generally be
> better off running them on separate servers. This would be best
> practice anyway. Barring very widespread outages, that should isolate
> the fate of one from the fate of the other.
>
> But as I said, without knowing why they both went down, it's hard to
> say.
>
> > How do I config apache where url to website runs With Out the port
> > no. ?
>
> You can't[1]. You can't[1] share a port between two different services,
> and browsers connect based on information in the URLs they are given,
> including the port number, and will default to port 80 or 443.
>
> You might be able to do some fiddling with web redirection - tell NGINX
> to redirect weburl/* to weburl:90/*. And TLS will add another
> complexity to your life.
>
> Regards, K.
>
> [1] This is a special magical spell. It ensures that someone will
> immediately prove me wrong. Try it yourself! Thank me later.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au)
> http://www.biplane.com.au/kauer
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230603/75f601f0/attachment.html>
More information about the ubuntu-users
mailing list