
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
/etc/hosts based tiny reverse proxy.
You may sometimes run a web application on http://localhost:3000
during development, or
sometimes you may configure a local port forward on http://localhost:8080
with SSH to access web server behind firewalls.
Hosty loads your /etc/hosts
and acts as reverse proxies to simplify the URLs.
It allows you to manage mappings of local server name and port on /etc/hosts
.
$ gem install hosty
Run:
sudo hosty
If you have lines below in your /etc/hosts
:
127.0.0.1 internal.example.com internal # :8080
127.0.0.1 rails # :3000
Hosty accepts http://internal.example.com/foo
locally and proxies it
into http://internal.example.com:8080/foo
for example.
You can specify tls
option at the end of each line:
127.0.0.1 internal.example.com internal # :8080 tls
Hosty accepts http://internal.example.com/foo
and proxies into https://internal.example.com:8080/foo
. Also, you can spacify 'verify_none' to skip server cert verification.
127.0.0.1 internal.example.com internal # :8080 tls verify_none
Note
The URL scheme in your browser is always 'http'.
Copyright (c) 2016-2022 Shintaro Kojima. Code released under the MIT license.
FAQs
Unknown package
We found that hosty demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.