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

Add support for custom error pages #3

Merged
merged 1 commit into from
Jul 4, 2017
Merged

Commits on Jul 3, 2017

  1. Add support for custom error pages

    This sets up a custom 404 page and a generic error page which is used for all other 4xx and 5xx status codes.
    
    In order to allow for both config and the built site to be uploaded we:
    
    - add nginx config for error pages which will be included within the location block
    - modify middleman config to build into /deploy/public
    - add the new build directory to .gitignore
    - modify the CloudFoundry manifest to upload the entire /deploy/ directory
    - add a Staticfile configured to serve only /deploy/public and include the custom nginx config
    36degrees committed Jul 3, 2017
    Configuration menu
    Copy the full SHA
    ab89eda View commit details
    Browse the repository at this point in the history