One premise is that in addition to the application itself, you have other needs in terms of the overall architecture. For example, load processing, port processing, domain (name) processing, static file processing, etc., then these software such as nginx have been implemented very well, and they are implemented with appropriate technology.
So the answer to the question is: you don’t just need an HTTP Server, that’s the reason for using these software.
Choose the appropriate Web Server based on your website architecture.
You can use Web.py alone to work normally, but once the number of visits increases, you have to use special software to do clustering, load balancing, etc. as a Web Server.
One premise is that in addition to the application itself, you have other needs in terms of the overall architecture. For example, load processing, port processing, domain (name) processing, static file processing, etc., then these software such as nginx have been implemented very well, and they are implemented with appropriate technology.
So the answer to the question is: you don’t just need an HTTP Server, that’s the reason for using these software.
If you only have 10 users, then web.py comes with OK, but what if it is 1w? The built-in webserver has limited processing capabilities.
Choose the appropriate Web Server based on your website architecture.
You can use Web.py alone to work normally, but once the number of visits increases, you have to use special software to do clustering, load balancing, etc. as a Web Server.