Re: Ada/GNAT/AWS-friendly web hosting

Liste des GroupesRevenir à cl ada 
Sujet : Re: Ada/GNAT/AWS-friendly web hosting
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.ada
Date : 13. Sep 2024, 00:40:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbvql3$esm6$12@dont-email.me>
References : 1 2
User-Agent : Pan/0.160 (Toresk; )
On Thu, 12 Sep 2024 16:54:45 +0200, DrPi wrote:

Le 12/09/2024 à 16:25, Marius Alves a écrit :
>
The host is already running an HTTP server program (probably Apache).
Must it be turned off? How?
>
The usual way is to use Apache (or nginx or another one) as a front end.
Your application uses port 1080 (or something else) and the front end
relays this port to the external 80 port.

Yup, I do things this way for my Python+ASGI code, too. This called a
“reverse proxy”, though I don’t know why -- I think “server-side proxy”
would be more accurate.

Make sure your back-end server is listening only on a loopback address:
127.0.0.0/8 (IPv4) or ::1 (IPv6). That way the only access to it from
outside the machine is through the public web-server front end.

(Question to ponder: why does Ipv4 offer over 16 million different
loopback addresses, while IPv6, which its much larger address space, has
to make do with only one?)

This way, the security stuff is manage by the front end, not your
application. You can also run multiple applications, each being
redirected to its domain name/path.

Yup.

Date Sujet#  Auteur
12 Sep 24 * Ada/GNAT/AWS-friendly web hosting27Marius Alves
12 Sep 24 +- Re: Ada/GNAT/AWS-friendly web hosting1J-P. Rosen
12 Sep 24 +* Re: Ada/GNAT/AWS-friendly web hosting7DrPi
12 Sep 24 i+* Re: Ada/GNAT/AWS-friendly web hosting5J-P. Rosen
12 Sep 24 ii+- Re: Ada/GNAT/AWS-friendly web hosting1Kevin Chadwick
13 Sep 24 ii`* Re: Ada/GNAT/AWS-friendly web hosting3Lawrence D'Oliveiro
13 Sep 24 ii +- Re: Ada/GNAT/AWS-friendly web hosting1J-P. Rosen
14 Sep 24 ii `- Re: Ada/GNAT/AWS-friendly web hosting1Randy Brukardt
13 Sep 24 i`- Re: Ada/GNAT/AWS-friendly web hosting1Lawrence D'Oliveiro
12 Sep 24 +* Re: Ada/GNAT/AWS-friendly web hosting3Jeffrey R.Carter
13 Sep 24 i`* Re: Ada/GNAT/AWS-friendly web hosting2Lawrence D'Oliveiro
13 Sep 24 i `- Re: Ada/GNAT/AWS-friendly web hosting1Jeffrey R.Carter
12 Sep 24 +- Re: Ada/GNAT/AWS-friendly web hosting1Dmitry A. Kazakov
13 Sep 24 +- Re: Ada/GNAT/AWS-friendly web hosting1Stéphane Rivière
13 Sep 24 +* Re: Ada/GNAT/AWS-friendly web hosting12Björn Persson
14 Sep 24 i`* Re: Ada/GNAT/AWS-friendly web hosting11Lawrence D'Oliveiro
14 Sep 24 i `* Re: Ada/GNAT/AWS-friendly web hosting10Stéphane Rivière
14 Sep 24 i  `* Re: Ada/GNAT/AWS-friendly web hosting9Lawrence D'Oliveiro
14 Sep 24 i   `* Re: Ada/GNAT/AWS-friendly web hosting8Stéphane Rivière
14 Sep 24 i    `* Re: Ada/GNAT/AWS-friendly web hosting7Lawrence D'Oliveiro
14 Sep 24 i     `* Re: Ada/GNAT/AWS-friendly web hosting6Stéphane Rivière
14 Sep 24 i      `* Re: Ada/GNAT/AWS-friendly web hosting5Kevin Chadwick
14 Sep 24 i       `* Re: Ada/GNAT/AWS-friendly web hosting4Stéphane Rivière
14 Sep 24 i        `* Re: Ada/GNAT/AWS-friendly web hosting3Jeffrey R.Carter
14 Sep 24 i         `* Re: Ada/GNAT/AWS-friendly web hosting2Stéphane Rivière
14 Sep 24 i          `- Re: Ada/GNAT/AWS-friendly web hosting1Jeffrey R.Carter
13 Sep 24 `- Re: Ada/GNAT/AWS-friendly web hosting1Nioclás Pól Caileán de Ghloucester

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal