axitkhurana / buster

Brute force static site generator for Ghost
MIT License
802 stars 139 forks source link

Doesn't work with bare IP address with ports #4

Closed axitkhurana closed 10 years ago

axitkhurana commented 10 years ago

Normal Ghost installation works on http://127.0.0.1:2368 . wget --recursive --domains .. doesn't capture all pages.

Workarounds for now. (Any one)

  1. Setup Ghost using Ghost Vagrant. buster generate will work in this case.
  2. Setup Nginx. See ONLY step 3 of this tutorial and use localhost as your-domain-name.
  3. Listen on port 80 using sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 2368. buster generate --domain=127.0.0.1 should work in the above cases.