Skip to content

Instantly share code, notes, and snippets.

@sijpkes
Last active February 15, 2017 06:35
Show Gist options
  • Save sijpkes/7416619083a7756b3aeaa36e76290db2 to your computer and use it in GitHub Desktop.
Save sijpkes/7416619083a7756b3aeaa36e76290db2 to your computer and use it in GitHub Desktop.
RequestHeader set X-Forwarded-Proto "https"
WSGIScriptAlias /dalite-ng .../dalite-ng/dalite/wsgi.py
WSGIPythonPath .../dalite-ng
WSGISocketPrefix run/wsgi
Alias /dalite-ng/static .../dalite-ng/static
ServerName your.server.edu.au
<Directory /.../dalite-ng/static> # replace with real path
Allow from all
</Directory>
<Directory /.../dalite-ng/dalite>
WSGIPassAuthorization On
<Files wsgi.py>
Allow from all
</Files>
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment