网络服务 RDR2TLS

码农软件 · 软件分类 · 高性能网络开发库 · 2019-09-01 06:44:22

软件介绍

RDR2TLS 是一个 Haskell 网络服务程序,支持从 HTTP 到 HTTPS 上的所有流量的重定向功能。

运行此应用程序的最简单方法是在 Dockerhub 上使用的 Docker 镜像。

docker pull fpco/rdr2tls
docker run -i -t --rm -p 8080:8080 fpco/rdr2tls

该程序在端口 8080 运行。任何到端口 8080HTTP 请求都能定向 HTTPS

% curl -v 'http://localhost:8080/remote/worker?pants=YES'
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /remote/worker?pants=YES HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Transfer-Encoding: chunked
< Date: Wed, 06 May 2015 00:31:16 GMT
* Server Warp/3.0.13 is not blacklisted
< Server: Warp/3.0.13
< Location: https://localhost/remote/worker?pants=YES
<
* Connection #0 to host localhost left intact

本文地址:https://codercto.com/soft/d/13615.html

Bulletproof Web Design

Bulletproof Web Design

Dan Cederholm / New Riders Press / 28 July, 2005 / $39.99

No matter how visually appealing or packed with content a Web site is, it isn't succeeding if it's not reaching the widest possible audience. Designers who get this guide can be assured their Web site......一起来看看 《Bulletproof Web Design》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具