Skip to content

finish setting up nginx & gunicorn #46

Description

@allynt

Use nginx to redirect default heroku domain to custom domain.

nginx should also improve latency issues.


  • serve app w/ nginx acting as a reverse-proxy for gunicorn
  • redirect http to https
  • redirect subdomain ("www")
  • redirect default domain
  • clean up old middleware
  • use gunicorn config file instead of command-line arguments
  • fine-tune number of workers, etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions