ZoomDash

Settings

Your vehicle and targets. These drive the cost figures across the dashboard.

Sign-in is off. Protect this site with basic auth.

Until Google SSO is enabled, ZoomDash has no login of its own. Anyone who can reach dash.zoomstop.ovh can see and change everything. Put HTTP basic auth (.htaccess-style password protection) in front of it now, and remove it once Google sign-in is on.

Show the basic auth setup

This server runs nginx, which ignores .htaccess files, so use its equivalent. First create a password file:

sudo htpasswd -c /etc/nginx/.htpasswd-zoomdash yourname

Then add this to /etc/nginx/sites-available/dash and run sudo nginx -t && sudo systemctl reload nginx:

# In the server { } block for dash.zoomstop.ovh
auth_basic           "ZoomDash";
auth_basic_user_file /etc/nginx/.htpasswd-zoomdash;

# The phone app signs its uploads with its own key (an
# Authorization header), so these paths must skip basic auth.
location ~ ^/api/(ingest|pair|device/|photo$) {
    auth_basic off;
    proxy_pass http://127.0.0.1:3210;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

If you put it behind Apache instead, the .htaccess version is:

AuthType Basic
AuthName "ZoomDash"
AuthUserFile /etc/apache2/.htpasswd-zoomdash
<If "%{REQUEST_URI} !~ m#^/api/(ingest|pair|device/|photo$)#">
    Require valid-user
</If>

The phone app's endpoints have to stay outside the password, because the app authenticates with its own pairing key. The browser will ask for the password once when you download the APK on your phone.

Vehicle

used for fuel cost and net earnings
Your car's real-world average, mixed city and highway.
S&G #80 · 4142 Monroe St, Toledo, OH 43606
Price reported by the station 18h ago.
Set this to the current IRS standard business rate.

Targets & time

Your data

0 dashes · 0 offers · 0 GPS points

Diagnostics

last 40 events from your phone
WhenTypeDetails
Nothing received yet.