-
Updated
May 30, 2020 - Go
http-proxy
Here are 451 public repositories matching this topic...
-
Updated
May 29, 2020 - Go
The example code does not work as intended.
Steps to reproduce
Use the example code:
var express = require('express');
var proxy = require('http-proxy-middleware');
var app = express();
app.use(
'/api',
proxy({ target: 'http://www.example.org', changeOrigin: true })
);
app.listen(3000);
Expected behavior
This should create a proxy for /api
to `http
-
Updated
Jul 25, 2019 - JavaScript
-
Updated
May 23, 2020 - PHP
I am looking for examples for defining ingress resources for skipper.
Beside the following documentation, where can I get more examples?
For instance, how would you create ingress resources for the following routes:
path1: * -> "https://www.example.org";
path2: Path("/home") -> "https://www.google.com";
dynamicPath1: Path
On this gif ( https://raw.githubusercontent.com/constverum/ProxyBroker/master/docs/source/_static/cli_serve_example.gif ) the server prints an info line when a client connects.
The current version doesn't do that, though it would be very useful. I tried the command that is on the GIF.
-
Updated
Mar 22, 2020 - Go
-
Updated
May 6, 2020 - Go
asyncsrc noted in #351 that HSTS errors could be avoided if certificates are imported into the system keychain.
We should perhaps have OS-specific and/or browser-specific docs on importing certificates
User story.
As a developer, I can change a referenced example file, so that I can see the changes after a request to prism
.
Is your feature request related to a problem?
Prism only watches the spec file for changes and even if it changes, it doesn't reload referenced examples. This is useful because spec files can get extremely big so $ref
usage is a must to keep it manageable.
Verbose logging
We would like to support Graphite as a time series database when being used to front a dashboard.
like SOZU_CONFIG
, SOZU_BIN
would fix a path at compile time: the location of the executable
-
Updated
May 24, 2020 - Python
-
Updated
Apr 18, 2020 - Go
-
Updated
Oct 27, 2019 - Ruby
-
Updated
Jan 30, 2020 - JavaScript
-
Updated
Nov 15, 2019 - Shell
-
Updated
Apr 24, 2019 - Java
Right now there aren't any instructions in the README.
-
Updated
May 28, 2020 - Go
transformRequest only fires if its a method that can have a body. This is misleading, as it's very common to perhaps want to tweak headers or something on an outgoing request before it gets to the destination server.
The solution is "use" instead of "transformRequest", but I was banging my head on this today.
-
Updated
Mar 19, 2020 - Python
-
Updated
Dec 11, 2018 - JavaScript
-
Updated
May 31, 2020
代码设置 StaticResurceType:
g = new Gateway();
g.HttpOptions(options =>
{
options.StaticResurceType = "txt;xml;zip;jpg;css;png;htm;woff;svg;gif;woff2;js;html;jpeg;ico;rar";
}
g.Open();
woff 文件显示 403错误。
GET http://..../__system/layuiadmin/layui/font/iconfont.woff?v=230 net::ERR_ABORTED 403 (No permission)
如果使用 HttpConfig.json 则一切正常。
看了代码,只有在实例化HttpApiServer时才会初始化,后续设置StaticResurce
-
Updated
Sep 27, 2019 - Go
Improve this page
Add a description, image, and links to the http-proxy topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the http-proxy topic, visit your repo's landing page and select "manage topics."
对于使用云服务的负载均衡器(Azure 或者 Google cloud)以及 CDN 的用户,因为负载均衡器和 CDN 是可以直接接管证书和 TSL 甚至 HTTP/2 、 QUIC 的,所以希望 v2ray 作为客户端使用时也能够支持像浏览器一样自动协商底层传输协议是 HTTP 1.1 还是 HTTP/2 或 QUIC 。相当于在入站协议上提供一个尽量简单、不占资源的 HTTP 类型的底层传输协议,如 #1644 所需求的,再由客户端在出站协议上与负载均衡器自动协商。当然如果入站协议也能够提供一个支持多版本协商的 HTTP 底层传输协议那也再好不过。
以及目前 WebSocket 是直接使用 WebSocket 连接的,与浏览器的 HTTP 协商升级为 ws 的行为有所不同,跟据[谷歌云的表述](https://cloud.google.com/load-balancing/docs/