Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for urlSSL config option and forceAdminSSL 403 response #2238

Merged
merged 1 commit into from
Apr 28, 2014

Commits on Apr 27, 2014

  1. Support for urlSSL config option and forceAdminSSL 403 response

    closes TryGhost#1838
    - adding `forceAdminSSL: {redirect: true/false}` option to allow 403 over non-SSL rather than redirect
    - adding `urlSSL` option to specify SSL variant of `url`
    - using `urlSSL` when redirecting to SSL (forceAdminSSL), if specified
    - dynamically patching `.url` property for view engine templates to use SSL variant over HTTPS connections (pass `.secure` property as view engine data)
    - using `urlSSL` in a "reset password" email, if specified
    - adding unit tests to test `forceAdminSSL` and `urlSSL` options
    - created a unit test utility function to dynamically fork a new instance of Ghost during the test, with different configuration options
    gimelfarb committed Apr 27, 2014
    Configuration menu
    Copy the full SHA
    a013840 View commit details
    Browse the repository at this point in the history