Re: Recommended web server implementation to actively run multiple flask web apps on a windows machine
Jacob Kruger <[email protected]> Fri, 8 Sep 2023 09:50:16 +0200
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Message-ID | <[email protected]> |
Thanks. More to do with that, at times, I want to run forms of apache, for things like the adminer database management, single page .php file, while sort of running flask alongside, and, yes, generally then just run flask on a different port, but, for example, when put flask in production, more or less run it under nginx on linux servers, using nginx .conf to route requests to .sock, or via gunicorn services. So, do agree that think must try out nginx running here under windows a bit more, or play around with wsgi mod under apache properly. Thanks Jacob Kruger Skype: BlindZA "...resistance is futile!...acceptance is versatile..." On 2023/09/08 09:37, Mriswithe wrote: > Not sure if this is the sort of thing you are looking for, but if what > you want is a simple http server, there is an http server in Python > stdlib (https://docs.python.org/3/library/http.server.html ) for > simple non-prod web serving purposes, but flask will run itself in the > same non-prod capacity.for development purposes. > > On Fri, Sep 8, 2023, 2:10 AM Jacob Kruger <[email protected]> wrote: > > Vernon, this is really just for dev testing, and/or for testing a > bit across machines, etc. - would also never consider running an > actual production web server on windows - last time did that was a > very long time ago, when classic ASP, and ASP.net, running against > MSSQL server were my focus areas. > > > Jacob Kruger > Skype: BlindZA > "...resistance is futile!...acceptance is versatile..." > On 2023/09/07 16:04, Vernon D. Cole wrote: >> I highly recommend nginx. >> >> I also highly recommend NOT running a web server on Windows. >> >> >> On Wed, Sep 6, 2023 at 1:14 AM Jacob Kruger <[email protected]> >> wrote: >> >> Hi there >> >> >> My primary development focus at the moment is web >> applications, using >> the flask web-framework, and, while, in development, I can >> just run them >> on different ports, etc. on my dev machine - windows 11 home >> 64 bit - in >> the past I worked with laragon or WAMPP when working with PHP >> development. >> >> >> Now, I know in theory it's possible to map something like >> virtual >> directorys/paths via apache, which is what WAMP is working >> with, but, >> was just wondering what is the recommended web server package >> to work >> with in this context? >> >> >> Laragon? nGinX? WAMP? XAMPP? >> >> >> TIA >> >> -- >> >> Jacob Kruger >> Skype: BlindZA >> "...resistance is futile!...acceptance is versatile..." >> _______________________________________________ >> python-win32 mailing list >> [email protected] >> https://mail.python.org/mailman/listinfo/python-win32 >> > _______________________________________________ > python-win32 mailing list > [email protected] > https://mail.python.org/mailman/listinfo/python-win32 > _______________________________________________ python-win32 mailing list [email protected] https://mail.python.org/mailman/listinfo/python-win32