phase2 / docker-https-proxy Goto Github PK
View Code? Open in Web Editor NEWHandles HTTPS proxying with automatic self-signed certs for SSL termination.
Home Page: https://hub.docker.com/r/outrigger/https-proxy/
Handles HTTPS proxying with automatic self-signed certs for SSL termination.
Home Page: https://hub.docker.com/r/outrigger/https-proxy/
Not sure if this project has been abandoned?
I've made a fork here:
https://github.com/RTC1/docker-https-proxy
Added AltName support so the generated certs work in Chrome
In order to proxy URLs that encode key parameter details as part of the domain, we need better built-in support for multiple domains or wildcard domains.
Local development, wherein the "multiple URL" nature leans on the implicit "wildcarding" provided by Outrigger DNSDock. For example, api.projectname.vm, fr.api.rojectname.vm, de.api.projectname.vm will all be routed to the same container.
Provide instructions on how to get variable domains registered in the X-Forwarded-Host header so the upstream can examine the downstream request host, embedded with key request parameters.
In our target environment context, the "wildcard DNS" approach works but I have not found how to populate the X-Forwarded-Host header with the full request domain, it is reduced to the actual DNS entry. nginx proxy requests are sent with an Origin header that includes the correct domain.
nginx.conf.tmpl: Replace X-Forwarded-Host configuration of {{ getenv "PROXY_DOMAIN"}}
with $host
. In this way the forwarded host should use whatever reaches it. (This was not sufficient for the nginx-only approach above.)
docker-compose.yml: Add com.dnsdock.aliases, with comma-delimited entries for each variant domain
labels:
com.dnsdock.aliases: fr.api.rojectname.vm, de.api.projectname.vm
Still researching.
Would it be possible to change X-Forwarded-Port to an environment var instead of statically set to 443?
I run multiple docker instances and usually have them on non-standard ports.
Thanks,
https://blog.cloudflare.com/deprecating-old-tls-versions-on-cloudflare-dashboard-and-api/
These are old versions of TLS and deprecated for good security reasons. Let's drop support to support forward looking practices by default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.