Flask Documentation (1.1.x)
files, set the X-Sendfile header instead of serving the data with Flask. Some web servers, such as Apache, recognize this and serve the data more efficiently. This only makes sense when using such a server remote servers. You can of course use your own favourite server there, but for this example we chose Apache + mod_wsgi because it’s very easy to setup and has a simple way to reload applications without root the server and the configuration file for the application (eg: application.cfg) 3. Create a new Apache config for yourapplication and activate it. Make sure to activate watching for changes of the .wsgi0 码力 | 428 页 | 895.98 KB | 1 年前3Flask Documentation (1.1.x)
files, set the X-Sendfile header instead of serving the data with Flask. Some web servers, such as Apache, recognize this and serve the data more efficiently. This only makes sense when using such a server remote servers. You can of course use your own favourite server there, but for this example we chose Apache + mod_wsgi because it’s very easy to setup and has a simple way to reload applications without root the server and the configuration file for the application (eg: application.cfg) 3. Create a new Apache config for yourapplication and activate it. Make sure to activate watching for changes of the .wsgi0 码力 | 291 页 | 1.25 MB | 1 年前3
共 2 条
- 1
相关搜索词