Alias /static      /usr/lib/python3.6/site-packages/hubs/static

WSGIScriptAlias / /usr/share/fedora-hubs/hubs.wsgi
WSGIDaemonProcess hubs user=hubs group=hubs display-name=hubs maximum-requests=1000 processes=4 threads=30
WSGISocketPrefix run/wsgi
WSGIRestrictStdout On
WSGIRestrictSignal Off
WSGIPythonOptimize 1

<Directory "/usr/share/fedora-hubs">
    <Files hubs.wsgi>
        Order deny,allow
        Allow from all
        Require all granted
    </Files>
    WSGIProcessGroup hubs
</Directory>

<Directory "/usr/lib/python3.6/site-packages/hubs/static">
    Order deny,allow
    Allow from all
    Require all granted
</Directory>

# SSE
ProxyPass /sse http://localhost:8080
ProxyPassReverse /sse http://localhost:8080
