Skip to content

Instantly share code, notes, and snippets.

@DataGreed
Created December 13, 2019 18:46
Show Gist options
  • Save DataGreed/f9572592820c3c56d58711cd309fbacc to your computer and use it in GitHub Desktop.
Save DataGreed/f9572592820c3c56d58711cd309fbacc to your computer and use it in GitHub Desktop.
fixes Authorization header passing to apache on elastic beanstalk. Put this in your .ebextensions directory
# insures auth headers are passed to flask
files:
"/etc/httpd/conf.d/wsgi_custom.conf":
mode: "000644"
owner: root
group: root
content: |
WSGIPassAuthorization On
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment