I always use NGINX for this. Run Flask/Gunicorn on localhost:5000 and have
NGINX rewrite https requests to localhost requests. In nginx.conf I
automatically redirect every http request to https. Static files are
served by NGINX, not by Gunicorn, which is faster. NGINX also allows you
Thanks all. I was hoping to get away without something more
sophisticated like NGINX. This is just a piddly little archive of an
old mailing list running on a single-core Ubuntu VM somewhere on the
East Coast. Speed is not a real requirement. Load balancing seemed
like overkill to me. Still, I gues
Hi.
You probably can solve issue on Gunicorn side. But afaik better solution is to
use http proxy before Gunicorn. This proxy accepts https connection and proxy
requests to Gunicorn instances as plain http.
This approach gives you:
a) Monitoring on network layer (tcpdump/wireshark shows you req
Il giorno sabato 8 gennaio 2022 alle 02:21:40 UTC+1 dn ha scritto:
> Salaam Mahmood,
> On 08/01/2022 12.07, Mahmood Naderan via Python-list wrote:
> > I have a csv file like this
> > V0,V1,V2,V3
> > 4,1,1,1
> > 6,4,5,2
> > 2,3,6,7
> >
> > And I want to search two rows for a match and find th
On 2021-12-26 20:40:03 +0400, Abdur-Rahmaan Janhangeer wrote:
> I have started a newspaper (not newsletter) focused
> on interesting reads on Python mailing lists. Don't tag
> on the fact that holiday seasons are the worst times for
> launch according to marketing folks, I started this to note
> do
I have to wonder if when something looks like HOMEWORK, if it should be
answered in detail, let alone using methods beyond what is expected in class.
The goal of this particular project seems to be to find one (or perhaps more)
columns in some data structure like a dataframe that match two condi
Well yes XD though LWN covers Py topics well when it wants
1. Yes sure, did not expect RSS interest
2. Excuse my blunder, will do!
On Sun, 9 Jan 2022, 01:15 Peter J. Holzer, wrote:
> On 2021-12-26 20:40:03 +0400, Abdur-Rahmaan Janhangeer wrote:
> > I have started a newspaper (not newsletter) f
+1 to RSS.
On Sun, 2022-01-09 at 10:28 +0400, Abdur-Rahmaan Janhangeer wrote:
> Well yes XD though LWN covers Py topics well when it wants
>
>
> 1. Yes sure, did not expect RSS interest
> 2. Excuse my blunder, will do!
>
> On Sun, 9 Jan 2022, 01:15 Peter J. Holzer, wrote:
>
> > On 2021-12-26