Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Minimal Rack app to display your external IP address

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.