Skip to content

Commit

Permalink
Document binding to HTTP in development (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismasan authored Oct 18, 2024
1 parent 735305a commit 7c7c3c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions guides/rails-integration/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Because Rails apps are built on top of Rack, they are compatible with Falcon.

We do not recommend using Rails older than v7.1 with Falcon. If you are using an older version of Rails, you should upgrade to the latest version before using Falcon.

Falcon assumes HTTPS by default (so that browsers can use HTTP2). To run under HTTP in development you can bind it to an explicit scheme, host and port:

```
falcon serve -b http://localhost:3000
```

### Production

The `falcon serve` command is only intended to be used for local development. Follow these steps to run a production Rails app with Falcon:
Expand Down

0 comments on commit 7c7c3c1

Please sign in to comment.