Releases: benjie/mehserve
Releases · benjie/mehserve
v2.1.0 - .localhost TLD
mehserve now natively supports the .localhost
TLD which should be safe to use for years to come! Thanks @lake-effect 🙌
v2.0.3 - X-Forwarded-Proto
Add support for X-Forwarded-Proto: https
for https requests.
v2.0.2 - fixes SSL signing issues
- Fixes
ERR_SSL_KEY_USAGE_INCOMPATIBLE
(thanks @benhjames) - Fixes
ERR_CERT_WEAK_SIGNATURE_ALGORITHM
- Adds SSL certificate installation instructions for Linux
- Upgrades dependencies
Mehserve v2
- Codebase now in JavaScript, not CoffeeScript
- Adds SSL support
UPDATING
To install the latest:
npm install -g mehserve
This will continue to work as before, but if you want SSL support you'll need to redirect port 12443 to port 443 (on top of redirecting port 12439 to port 80 as you likely do already).
Mac:
- Run
mehserve install
(just outputs instructions) - Re-run the
sudo cp
line that referencesmeh.firewall.plist
- Copy the
sudo launchctl load
command, changeload
forunload
, then run it - Re-run the
sudo launchctl load
command (withload
)
Linux:
UNTESTED
You should be able to just run:
sudo iptables -t nat -A OUTPUT -o lo -p tcp --dport 443 -j REDIRECT --to-port 12443
sudo iptables-save