HEADS UP!  Use static_path() rather than static_url() and route_path() rather than route_url() to generate host/port/protocol-independent URLs everywhere for nginx compatibility.

Prevents HTTP/HTTPS mixed-content warnings and CORS access control warnings
Merge pull request #363 from eucalyptus/nginx_readiness

Deployment readiness: Avoid HTTP/HTTPS mixed content and CORS access control warnings