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
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
Docker 从⼊⻔到实践d/hello.world.conf \ nginx 如何运⾏⼀个 Nginx 容器? // hello.world.conf server { listen 80; server_name hello.world; root /var/www/hello.world; index index.html index.htm index.php; } 千 "$PWD:/home/q/system/m_look_360_cn" container_name: "m.look.360.cn-php" server { listen 80; server_name dev.m.look.360.cn; charset utf-8; root /home/q/system/m_look_360_cn/public; index0 码力 | 30 页 | 2.88 MB | 1 年前3
ThinkJS 1.2 中文文档来处理,动态类的请求 通过反向代理让 Node.js 来处理。这样也⽅方便做负载均衡。 nginx 下的配置可以参考下⾯面的⽅方式: 需要改动 3 个地⽅方: server_name meinv.ueapp.com 将 server_name 改为项⺫⽬目对应的域名 root /Users/welefen/Develop/git/meinv.ueapp.com/www 配置项⺫⽬目的根⺫⽬目录,⼀一定要到 设置如下的配置: 配置 server { listen 80; server_name meinv.ueapp.com; index index.js index.html index.htm;0 码力 | 104 页 | 1.29 MB | 1 年前3
firebird gbak-service server_name:service_mgr. Named pipes When using named pipes, the parameter requires two leading back slashes and the separator is another back slash, as in -service \\server_name\service_mgr0 码力 | 34 页 | 191.73 KB | 1 年前3
Nacos架构&原理
重试任务)。 limit_req_zone $limit_key zone=limit_get_config:10m rate=10r/s; server { listen 8080; server_name localhost; location /nacos/v1/cs/configs { if ($request_method = POST ) { rewrite ^ /limit_publish_config_url client 的重试攻击。 limit_req_zone $remote_addr zone=perclient:10m rate=500r/s; server { listen 8080; server_name localhost; limit_req zone=perclient burst=250 nodelay; location / { proxy_pass http://127.0 limit_conn_zone $remote_addr zone=limit_conn_client:10m; limit_conn_zone $server_name zone=limit_conn_server:10m; server { listen 8080; server_name localhost; location = /nacos/v1/cs/configs/listener { limit_conn0 码力 | 326 页 | 12.83 MB | 9 月前3
ThinkJS 2.0 中文文档"env": { } }] } JavaScript pm2 startOrReload pm2.json Bash �� nginx ����� � server_name localhost �� localhost ���������� set $node_port 8360 �� 8360 �������������� ��������������� ������������ IP + ������������ src/common/config/env/production.js ��� server { listen 80; server_name localhost; root /Users/welefen/Develop/git/thinkjs/demo/www; set $node_port 8360;0 码力 | 238 页 | 1.87 MB | 1 年前3
CloudBeaver User Guide v.23.3private key. /etc/nginx/ssl/privkey.pem Change in configuration to server_name _; /etc/nginx/conf.d/cloudbeaver.conf server_name; Enter in terminal to reload Nginx proxy sudo systemctl 0 码力 | 252 页 | 21.86 MB | 1 年前3
共 450 条
- 1
- 2
- 3
- 4
- 5
- 6
- 45













