Skip to content

JOB-56238 Force SSL for rails api template in production#19

Merged
upwardbinkie merged 1 commit into
mainfrom
JOB-56238/force-ssl-for-rails-api-template-in-production
Oct 25, 2022
Merged

JOB-56238 Force SSL for rails api template in production#19
upwardbinkie merged 1 commit into
mainfrom
JOB-56238/force-ssl-for-rails-api-template-in-production

Conversation

@upwardbinkie
Copy link
Copy Markdown
Contributor

@upwardbinkie upwardbinkie commented Oct 21, 2022

What's in this PR?

  • Why was this PR created?
    Force the app to have a secure connection over SSL.

  • Quick summary of the changes you made.
    Added config.foce_ssl = true to config/environments/production.rb

Before

App did not enforce SSL connection.

After

App forces an SSL connection.

QA

  • This has been QA'd by the PR owner
  • This has been QA'd by an approver

References

Securing Rails Applications - Ruby on Rails Guides

@upwardbinkie upwardbinkie self-assigned this Oct 21, 2022
@upwardbinkie upwardbinkie marked this pull request as ready for review October 24, 2022 18:15
@upwardbinkie upwardbinkie requested review from a user and andrewjdmccann October 24, 2022 18:15
@upwardbinkie upwardbinkie requested a review from jsuazod October 24, 2022 18:17
@upwardbinkie upwardbinkie merged commit 8e5f68c into main Oct 25, 2022
@upwardbinkie upwardbinkie deleted the JOB-56238/force-ssl-for-rails-api-template-in-production branch October 25, 2022 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants