0.3.10 • Published 10 years ago
fastforward v0.3.10
FastForward
Lightweight Reverse Proxy
Install
npm install -g fastforward
fastforward install
Usage
service fastforward start
Example Configuration
{
"Upstreams": {
"UpstreamServer1": [ "10.0.0.28:8080;q=1.0" ],
"UpstreamServer2": [ "10.0.0.28:8080;q=1.0" ],
},
"Settings": {
"Workers": 4
},
"Servers": [{
"Port": 443,
"AccessLog": {
"Path": "access.log",
"Format": "$remote_addr [$time_local] \"$request\" $status $bytes_sent \"$http_referer\" \"$http_user_agent\" \"$gzip_ratio\""
},
"Gzip": {
"Vary": true,
"CompressionLevel": 6,
"MinLength": 1024, /* Response body length less than MinLength will not be compressed */
"Types": ["text/plain", "text/html", "text/css", "application/json", "application/javascript"]
},
"Name": "myownurl.com",
"SSL": {
"Cert": "./certificate/certificate.crt",
"Key": "./certificate/private.key",
"CA": ["./certificate/bundle.crt"],
"Protocols": "SSLv3 TLSv1",
"Ciphers": "ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM"
},
"SetProxyHeader": {
"X-Forwarded-For": "$x_forwarded_for"
},
"Timeout": 1000,
"Locations": {
"^/": {
"Forward": "http://UpstreamServer"
},
"^/specific/url": {
"Forward": "http://UpstreamServer2"
}
}
}, {
"Port": 80,
"Name": "myownurl.com",
"Rewrite": {
"From": "^.+$",
"To": "https://$server_name$pathname$query",
"Range": "Temporary"
}
}]
}
0.3.10
10 years ago
0.3.9
10 years ago
0.3.8
10 years ago
0.3.7
10 years ago
0.3.6
10 years ago
0.3.5
10 years ago
0.3.4
10 years ago
0.3.2
10 years ago
0.3.1
10 years ago
0.3.0
10 years ago
0.2.8
10 years ago
0.2.7
10 years ago
0.2.6
10 years ago
0.2.5
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago
0.0.10
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago