• Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿšด Quick HTTPS forward/reverse proxy for your HTTP web service

httpsproxy2http - Quick HTTPS forward/reverse proxy for your HTTP web service

When your site is running with HTTPS enabled, and tried to embed an URL or perform an API call towards external URL which is HTTP (not HTTPS), you will see the error in below:

Mixed Content: The page at 'https://your-frontend.com/' was loaded over HTTPS, but requested an insecure resource 'http://your-webservice-api.com/v2/some/endpoint?param=1'. This request has been blocked; the content must be served over HTTPS.

It's mean that your API call or request is somehow blocked by the browser due to https://your-frontend.com/ was loaded using HTTPS-enabled but http://your-webservice-api.com is not. Trying to perform a call to a HTTP website from a webpage loaded via HTTPS is not allowed by browser, because it is insecure.

This simple service will help you to resolve that error. Simply change your URL from:

http://your-webservice-api.com/v2/some/endpoint?param=1

To:

https://httpsproxy2http.novalagung.com/your-webservice-api.com/v2/some/endpoint?param=1

In summary, use the https://httpsproxy2http.novalagung.com as the host of your destination URL, and put your actual URL as path next to it.

All resources like request headers, request body, query strings, cookies, etc; all of them will also be proxified. So it's safe to use httpsproxy2http on RESTful operations.

Disclaimer

We do not store any of your data. Use at your own risk. For better security, We recommend to setup the httpsproxy2http on your own cloud.

Usage

# default forward proxy
https://httpsproxy2http.novalagung.com/<your-url>
https://httpsproxy2http.novalagung.com/your-webservice-api.com/v2/some/endpoint?param=1

# with explicity proxy type (forward/reverse)
https://httpsproxy2http.novalagung.com/forward/<your-url>
https://httpsproxy2http.novalagung.com/forward/your-webservice-api.com/v2/some/endpoint?param=1
https://httpsproxy2http.novalagung.com/reverse/<your-url>
https://httpsproxy2http.novalagung.com/reverse/your-webservice-api.com/v2/some/endpoint?param=1

Forward proxy is the default when the type is not explicitly set

Setup httpsproxy2http in your own cloud

# clone our repo
git clone https://github.com/novalagung/httpsproxy2http.git

# go to the project directory
cd httpsproxy2http

# open docker-compose.yaml
# then adjust the HOST environment variable

# start the app
docker-compose up -d

You don't have to worry about setting up the SSL etc, we cover all of that for you.

License

MIT License

Author

Noval Agung Prayogo

More Repositories

1

dasarpemrogramangolang

๐Ÿ“– Source Code Website/Ebook Dasar Pemrograman Golang
Go
2,305
star
2

gubrak

โš™๏ธ Golang functional utility library with syntactic sugar. It's like lodash, but for Go
Go
481
star
3

dasarpemrogramangolang-example

๐Ÿ“– Source Code Praktik E-book Dasar Pemrograman Golang
Go
325
star
4

dasarpemrogramanrust

๐Ÿ“– Source Code Website/Ebook Dasar Pemrograman Rust
Rust
283
star
5

nvdate

๐Ÿ“… Swift4 Date extension library
Swift
174
star
6

muslimboard

๐Ÿ•Œ Muslim Board Browser Extension
JavaScript
144
star
7

dasarpemrogramanpython

๐Ÿ“– Source Code Website/Ebook Dasar Pemrograman Python
Python
53
star
8

golpal

Golpal - Easy to use Golang Eval Library
Go
45
star
9

go-eek

Blazingly fast and safe Go evaluation library, created on top of Go pkg/plugin package
Go
38
star
10

gorep

Simple tools to replace imported package name in golang project
Go
27
star
11

godong

Easiest dynamic http route handler for golang
Go
23
star
12

skeetoverflow

๐Ÿ“‹ A fun browser extension for replacing all reputations on StackOverflow into a percentage of Jon Skeet's point
JavaScript
20
star
13

dasarpemrogramanrust-example

๐Ÿ“– Source Code Praktik E-book Dasar Pemrograman Rust
Rust
19
star
14

learndevops

๐Ÿ“– Source Code E-book Learn Devops
Go
18
star
15

react-native-ble-read-peripheral

Example of Peripheral Communication with React Native BLE (Bluetooth Low Energy)
JavaScript
10
star
16

go-ternary

Ternary helper for Go programming language
Go
9
star
17

dasarpemrogramanpython-example

๐Ÿ“– Source Code Praktik E-book Dasar Pemrograman Python
Python
8
star
18

howto

JavaScript
5
star
19

natskeepalivesubscribe

Example of nats keep-alive subscription in Go
Go
5
star
20

novalagung

4
star
21

mypullrequests

List of my contributions to some open source projects
4
star
22

golang-docker-private-modules-https

Golang Dockerfile with private dependencies, without using ssh (onlyย HTTPS)
Dockerfile
4
star
23

aws-cloudflare-ip-whitelist

Rust
3
star
24

my-book

JavaScript
3
star
25

gitbook-plugin-docsearch-v3

DocSearch v3 plugin for HonKit / GitBook legacy
JavaScript
2
star
26

wow-addons-manager

World of Warcraft Addons Manager
1
star
27

mywowmacros

World of Warcraft macros backup
Lua
1
star
28

go-latest-from-source

Go binary built from latest Go source code
Dockerfile
1
star