Flask Documentation (1.1.x)get_send_file_max_age() on the application or blueprint. Default: timedelta(hours=12) (43200 seconds) SERVER_NAME Inform the application what host and port it is bound to. Required for subdomain route matching PROPAGATE_EXCEPTIONS, PRESERVE_CONTEXT_ON_EXCEPTION New in version 0.6: MAX_CONTENT_LENGTH New in version 0.5: SERVER_NAME New in version 0.4: LOGGER_NAME 1.11.4 Configuring from Files Configuration becomes more useful application served on localhost at port 8000, setting appro- priate headers: server { listen 80; server_name _; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location / { proxy_pass0 码力 | 291 页 | 1.25 MB | 1 年前3
Flask Documentation (1.1.x)get_send_file_max_age() on the application or blueprint. Default: timedelta(hours=12) (43200 seconds) SERVER_NAME Inform the application what host and port it is bound to. Required for subdomain route matching application served on localhost at port 8000, setting appropriate headers: server { listen 80; server_name _; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location host_matching attribute. Defaults to False. subdomain_matching – consider the subdomain relative to SERVER_NAME when matching routes. Defaults to False. template_folder – the folder that contains the templates0 码力 | 428 页 | 895.98 KB | 1 年前3
waitress Documentation v2.1.1attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. New in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment0 码力 | 53 页 | 58.27 KB | 1 年前3
waitress Documentation v2.1.0attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. New in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment0 码力 | 52 页 | 57.95 KB | 1 年前3
waitress Documentation v3.0.1
attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. Added in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment0 码力 | 55 页 | 56.36 KB | 1 年前3
waitress Documentation v2.1.2information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. New in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject0 码力 | 115 页 | 272.79 KB | 1 年前3
waitress Documentation v2.1.1information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. New in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject0 码力 | 113 页 | 270.88 KB | 1 年前3
waitress Documentation v3.0.1information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. Added in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject0 码力 | 119 页 | 339.46 KB | 1 年前3
WeRoBot 0.5.0 微信公众号开发框架文档微信服务器只支持80端口的机器人——显然,你的服务器上不会只跑着一个微 信机器人。对于这种情况,我们建议您使用 Nginx 来进行反向代理。 配置文件样例: server { server_name example.com; listen 80; location / { proxy_pass_header Server; proxy_redirect0 码力 | 25 页 | 55.31 KB | 1 年前3
WeRoBot 0.5.1 微信公众号开发框架文档微信服务器只支持80端口的机器人——显然,你的服务器上不会只跑着一个微 信机器人。对于这种情况,我们建议您使用 Nginx 来进行反向代理。 配置文件样例: server { server_name example.com; listen 80; location / { proxy_pass_header Server; proxy_redirect0 码力 | 30 页 | 59.38 KB | 1 年前3
共 89 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













