Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Minimal Rack app to display your external IP address
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
public
tmp
.gitignore
.ruby-version
Gemfile
Gemfile.lock
Procfile
README.md
config.ru

README.md

ip.stevenwilkin.com

Minimal Rack app to display your external IP address in the style of whatismyip.com

Running

Run the app on localhost port 3000 with the following:

rackup ./config.ru -p 3000

Browse to http://0.0.0.0:3000

Sample Apache VirtualHost config for mod_rails

To host the app using Apache and Phusion Passenger use something like:

<VirtualHost *:80>
    ServerName ip.stevenwilkin.com
    DocumentRoot /var/www/ip.stevenwilkin.com/public
</VirtualHost>

Where the contents of the repo have been deployed to /var/www/ip.stevenwilkin.com

Something went wrong with that request. Please try again.