0.0.1 • Published 9 years ago

availabilitychecker v0.0.1

Weekly downloads
3
License
-
Repository
-
Last release
9 years ago

High Availability AWS Checker

Project Specs

Use two (2) aws instances to create a high availability redirect.

Software

Nginx to create a 301 redirect.

` server { listen 80 defaultserver; listen :::80 default_server ipv6only=on; server_name ;

location / { return 301 http://www.nasa.gov$request_uri; access_log off; }

location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; allow ::1; allow 10.1.0.0/16; deny all; error_page 403 =301 http://www.nasa.gov$request_uri; } } File Descriptions: apex: nginx config, gets symlinked to /etc/nginx/sites-enabled/apex apex-upstart.conf: upstart script, gets symlinked to /etc/init/apex-upstart.conf index.js: main program file package.js: main program package file readme.md: this file script.sh: useful for putting symlinks. will be used when terminating servers. `