/unit/ |
H A D | CHANGES | 220 *) Bugfix: when isolated PID numbers reach the prototype process host 509 enables loading all extensions from the host system. 526 *) Feature: the $host variable contains a normalized "Host" request
|
/unit/docs/ |
H A D | unit-openapi.yaml | 1234 each is a unique combination of a host IP address (or a `*` wildcard to 1235 match any host IP addresses) and a port." 1261 combination of a host IP address (or a `*` wildcard to match any host IP 4371 description: "Listener name; a unique combination of a host IP address 4633 host: "backend.example.com" 4902 pass: "applications/${host}_php_handler" 5386 - host 5395 host: 5450 - host 5459 host: [all …]
|
/unit/pkg/docker/ |
H A D | Dockerfile.wasm | 63 …y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch} \
|
H A D | Makefile | 100 …dify-path --profile minimal --default-toolchain \$$RUST_VERSION --default-host \$${rustArch} \\\n \
|
/unit/src/java/nginx/unit/ |
H A D | Request.java | 470 String host = getHeader("Host"); in getRequestURL() local 472 StringBuffer res = new StringBuffer("http://" + host + uri); in getRequestURL()
|
/unit/src/java/nginx/unit/websocket/ |
H A D | LocalStrings.properties | 139 wsWebSocketContainer.pathNoHost=No host was specified in URI
|
H A D | WsWebSocketContainer.java | 220 String host = path.getHost(); in connectToServerRecursive() local 221 if (host == null) { in connectToServerRecursive() 260 sa = new InetSocketAddress(host, port); in connectToServerRecursive() 262 proxyConnect = createProxyRequest(host, port); in connectToServerRecursive() 332 SSLEngine sslEngine = createSSLEngine(userProperties, host, port); in connectToServerRecursive() 563 private static ByteBuffer createProxyRequest(String host, int port) { in createProxyRequest() argument 566 request.append(host); in createProxyRequest() 571 request.append(host); in createProxyRequest() 648 hostValues.add(host); in createRequestHeaders() 650 hostValues.add(host + ':' + port); in createRequestHeaders() [all …]
|
/unit/src/java/ |
H A D | nxt_jni_Request.c | 600 char *host, *colon; in nxt_java_Request_getServerName() local 609 host = nxt_unit_sptr_get(&f->value); in nxt_java_Request_getServerName() 611 colon = memchr(host, ':', f->value_length); in nxt_java_Request_getServerName() 614 colon = host + f->value_length; in nxt_java_Request_getServerName() 617 return nxt_java_newString(env, host, colon - host); in nxt_java_Request_getServerName() 628 char *host, *colon, tmp; in nxt_java_Request_getServerPort() local 637 host = nxt_unit_sptr_get(&f->value); in nxt_java_Request_getServerPort() 639 colon = memchr(host, ':', f->value_length); in nxt_java_Request_getServerPort() 645 tmp = host[f->value_length]; in nxt_java_Request_getServerPort() 647 host[f->value_length] = '\0'; in nxt_java_Request_getServerPort() [all …]
|
/unit/src/nodejs/unit-http/ |
H A D | websocket_request.js | 116 this.host = request.headers['host']; 117 if (!this.host) {
|
/unit/src/ |
H A D | nxt_clone.c | 147 map->map[i].host, map->map[i].size); in nxt_clone_credential_map_set() 266 id = map->map[0].host; in nxt_clone_vldt_credential_uidmap() 333 if (nxt_slow_path((nxt_gid_t) m.host != nxt_egid)) { in nxt_clone_vldt_credential_gidmap() 336 "(gid %d) into child namespaces.", m.host, nxt_egid); in nxt_clone_vldt_credential_gidmap()
|
H A D | nxt_clone.h | 16 nxt_cred_t host; member
|
H A D | nxt_http.h | 145 nxt_str_t host; member
|
H A D | nxt_http_js.c | 139 return njs_vm_value_string_set(vm, retval, r->host.start, r->host.length); in nxt_http_js_ext_host()
|
H A D | nxt_http_request.c | 86 nxt_str_t host; in nxt_http_request_host() local 95 host.length = field->value_length; in nxt_http_request_host() 96 host.start = field->value; in nxt_http_request_host() 101 r->host = host; in nxt_http_request_host() 121 dot_pos = host->length; in nxt_http_validate_host() 122 host_length = host->length; in nxt_http_validate_host() 124 h = host->start; in nxt_http_validate_host() 129 for (i = 0; i < host->length; i++) { in nxt_http_validate_host() 186 host->length = host_length; in nxt_http_validate_host() 599 if (r->host.length != 0) { in nxt_http_application_handler() [all …]
|
H A D | nxt_http_route.c | 44 nxt_conf_value_t *host; member 303 offsetof(nxt_http_route_match_conf_t, host), 463 if (mtcf.host != NULL) { in nxt_http_route_match_create() 464 rule = nxt_http_route_rule_create(task, mp, mtcf.host, 1, in nxt_http_route_match_create() 471 rule->u.offset = offsetof(nxt_http_request_t, host); in nxt_http_route_match_create()
|
H A D | nxt_http_variables.c | 311 *str = r->host; in nxt_http_var_host()
|
H A D | nxt_isolation.c | 336 offsetof(nxt_clone_map_entry_t, host), in nxt_isolation_credential_map()
|
/unit/src/test/ |
H A D | nxt_clone_test.c | 591 map->map[i].host = nxt_conf_get_number(value); in nxt_clone_test_parse_map()
|
/unit/test/ |
H A D | test_routing.py | 44 def host(host_header, status): function 169 host('example', 200) 170 host('www.example', 404) 171 host('example.com', 404) 172 host('exampl', 404) 611 host('127.0.0.1', 200) 618 host('[::1]', 200) 661 host('', 200) 940 host('Localhost', 200) 943 host('host', 404) [all …]
|
H A D | test_static_chroot.py | 38 def get_custom(uri, host): argument 39 return client.get(url=uri, headers={'Host': host, 'Connection': 'close'})[
|
H A D | test_tls_sni.py | 32 def check_cert(host, expect, ctx): argument 35 'Host': host,
|
H A D | test_variables.py | 153 def check_host(host, expect=None): argument 154 expect = host if expect is None else expect 159 client.get(headers={'Host': host, 'Connection': 'close'})['status']
|
/unit/tools/ |
H A D | README.md | 68 For remote instances of NGINX Unit, the control socket on the remote host can 70 can be accessed over TCP, SSH, or Docker containers on the host, depending on
|
H A D | setup-unit | 265 ssh://[user@]host[:port]/path/to/control.sock 266 [http[s]://]host[:port] 1536 echo "$unix_socket $host";
|
H A D | unitc | 130 # Figure out if we're running on the Unit host, or remotely
|