≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1580

Bug #1580: Rails 3: non-SSL requests broken on local development machine in production environment

Kind bug
Product wincent.dev
When Created 2010-06-17T16:47:06Z, updated 2011-02-01T12:33:14Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

Strange new behavior noted under Rails 3:

  • in the development environment, normal requests work over both HTTPS (via the nginx frontend) or HTTP (connecting directly to the local WEBrick server)
  • in the product environment, normal requests work only via HTTPS (via nginx); requests via HTTP (direct to WEBrick) work for routable Rails routes (eg. /issues/search), but yield errors like the following for all static assets under public:
Started GET "/images/logo.png?1259956411" for 127.0.0.1 at Thu Jun 17 22:43:42 +0200 2010

ActionController::RoutingError (No route matches "/images/logo.png"):

Probably not a big deal, but still, a curious difference from Rails 2.

Comments

  1. Greg Hurrell 2011-02-01T12:33:07Z

    Still present, but seems totally unimportant, so closing.

  2. Greg Hurrell 2011-02-01T12:33:14Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets