Reverse-proxy examples for dvswitch-dashboard
=============================================

The dashboard is a Flask application served by waitress.  It can own port 80
directly, or it can listen on localhost and let an existing web server proxy
to it.

To use one of these examples, edit /opt/dvswitch/dashboard.conf:

    DASHBOARD_BIND=127.0.0.1
    DASHBOARD_PORT=5000

then restart the service:

    systemctl restart dvswitch-api

Proxy both / and /api to 127.0.0.1:5000.  The UI and the API are same-origin,
so no CORS headers are needed.

apache.conf
    Example Apache 2.4 virtual-host fragment.

nginx.conf
    Example nginx server/location fragment.
