Files @ 67dd87d59abb
Branch filter:

Location: majic-ansible-roles/roles/wsgi_website/templates/systemd_wsgi_website.socket.j2

branko
MAR-83: Added support to wsgi_website role for specifying headers that should be passed on to Gunicorn by Nginx. Updated hello.wsgi app to demonstrate the feature.
[Unit]
Description=Socket for website {{ fqdn }}

[Socket]
ListenStream=/run/wsgi/{{ fqdn }}.sock
SocketUser=www-data
SocketGroup=www-data
SocketMode=0660

[Install]
WantedBy=sockets.target