Skip to content

Releases: Zekfad/dev-mirror

1.2.0

30 Jun 15:29
60a7062
Compare
Choose a tag to compare
  • Add Access-Control-Expose-Headers header if none is provided by server.
  • Rename environment variables:
    SERVER_SCHEME -> REMOTE_SCHEME
    SERVER_HOST -> REMOTE_HOST
    SERVER_USERNAME -> REMOTE_USERNAME
    SERVER_PASSWORD -> REMOTE_PASSWORD
    SERVER_POST -> REMOTE_POST
    LOCAL_BIND_IP -> LOCAL_HOST
  • Now you can use just LOCAL_URI and REMOTE_URI same as HTTP_PROXY,
    this simplifies usage from console.

1.1.2

07 Feb 15:11
6f31fe0
Compare
Choose a tag to compare

Features

  • Add support for internal redirects.

Fixes

  • Make log more useful for multiple concurrent requests.

1.1.1

27 Jul 17:42
44079cb
Compare
Choose a tag to compare

Refactor

  • Update linter rules.

1.1.0

25 Mar 13:09
23aabda
Compare
Choose a tag to compare

Features

  • HTTP Proxy support.

1.0.1 - Initial release

30 Dec 10:21
64c53c1
Compare
Choose a tag to compare

Features

  • Target server authentication.
  • Local server authentication.
  • Spoofing referrer.
  • CORS bypass.

Usage

Use environmental variables or .env file in working directory:

# Remote HTTP(S) server
SERVER_SCHEME = https
SERVER_HOST = example.com
SERVER_PORT = 443
# Remote server HTTP Basic auth
SERVER_USERNAME = user
SERVER_PASSWORD = passw0rd
# Local HTTP server
LOCAL_BIND_IP = 127.0.0.1
LOCAL_PORT = 8080
# Local server HTTP Basic auth
LOCAL_USERNAME = user
LOCAL_PASSWORD = passw0rd

Notes

Keep in mind, that if you have local server authentication, you wont be able to send authentication details to remote server though the mirror.

That means, that configuration where remote server requires authentication and mirror has no remote credentials, but has local authentication is invalid. To fix this add remote credentials (recommended), or disable local authentication.