Proxy server isnt responding

jupyterhub/configurable-http-proxy: node-http-proxy plus a
Help me with my homework proxy : Buy Original Essays online :

Configurable-http-proxy (CHP) provides you with a way to update and manage a proxy table using a command line interface or REST API. It is a simple wrapper around node-http-proxy. node-http-proxy is an HTTP programmable proxying library that supports websockets and is suitable for implementing components such as reverse proxies and load balancers. By wrapping node-http-proxy, configurable-http-proxy extends this functionality to JupyterHub deployments.

Install

Prerequisite:

Note: Ubuntu < 16.04 and Debian Jessie ship with too-old versions of Node and must be upgraded. We recommend using the latest stable or LTS version of Node.

To install the configurable-http-proxy package globally using npm:

npm install -g configurable-http-proxy

To install from the source code found in this GitHub repo:

git clone cd configurable-http-proxy npm install # Use 'npm install -g' for global install

Usage

The configurable proxy runs two HTTP(S) servers:

  1. The public-facing interface to your application (controlled by -ip, -port) listens on all interfaces by default.
  2. The inward-facing REST API (-api-ip, -api-port) listens on localhost by default. The REST API uses token authorization, where the token is set by the CONFIGPROXY_AUTH_TOKEN environment variable.

Setting a default target

When you start the proxy from the command line, you can set a default target (-default-target option) which will be used when no matching route is found in the proxy table:

configurable-http-proxy -default-target=

Command-line options

Usage: configurable-http-proxy [options] Options: -h, -help output usage information -V, -version output the version number -ip Public-facing IP of the proxy -port (defaults to 8000) Public-facing port of the proxy -ssl-key SSL key to use, if any -ssl-cert SSL certificate to use, if any -ssl-ca SSL certificate authority, if any -ssl-request-cert Request SSL certs to authenticate clients -ssl-reject-unauthorized Reject unauthorized SSL connections (only meaningful if -ssl-request-cert is given) -ssl-protocol Set specific HTTPS protocol, e.g. TLSv1_2, TLSv1, etc. -ssl-ciphers `:`-separated ssl cipher list. Default excludes RC4 -ssl-allow-rc4 Allow RC4 cipher for SSL (disabled by default) -ssl-dhparam SSL Diffie-Helman Parameters pem file, if any -api-ip Inward-facing IP for API requests -api-port Inward-facing port for API requests (defaults to -port=value+1) -api-ssl-key SSL key to use, if any, for API requests -api-ssl-cert SSL certificate to use, if any, for API requests -api-ssl-ca SSL certificate authority, if any, for API requests -api-ssl-request-cert Request SSL certs to authenticate clients for API requests -api-ssl-reject-unauthorized Reject unauthorized SSL connections (only meaningful if -api-ssl-request-cert is given) -default-target Default proxy target (proto://host[:port]) -error-target Alternate server for handling proxy errors (proto://host[:port]) -error-path

Alternate server for handling proxy errors (proto://host[:port]) -redirect-port Redirect HTTP requests on this port to the server on HTTPS -pid-file

Write our PID to a file -no-x-forward Don't add 'X-forward-' headers to proxied requests -no-prepend-path Avoid prepending target paths to proxied requests -no-include-prefix Don't include the routing prefix in proxied requests -insecure Disable SSL cert verification -host-routing Use host routing (host as first level of path) -statsd-host Host to send statsd statistics to -statsd-port

Port to send statsd statistics to -statsd-prefix

Prefix to use for statsd statistics -log-level Log level (debug, info, warn, error) -proxy-timeout Timeout (in millis) when proxy receives no response from target

Using the REST API

The configurable-http-proxy REST API is documented and available as:

Basics

API Root

HTTP method Endpoint Function
GET /api/ API Root

Routes

Authenticating via passing a token

The REST API is authenticated via passing a token in the Authorization header. The API is served under the /api/routes base URL.

Source: github.com

Related posts:

  1. Proxy server refusing
  2. Proxy server for testing
  3. Proxy server Streaming
  4. Proxy Servers For Windows