dolthub / dolthub/dolt-workbench

Reverse proxy to new base path breaks web app

Open
#353 3 comments 0 reactions 1 assignee Claimed by @tbantle22 View on GitHub
Dominant language
TypeScript
Stars
246
Forks
29
Avg merge
9h 13m
Merged PRs (30d)
9

Description

I have setup a proxy with apache2 with:

```

ServerName some.ip

SSLEngine On
SSLCertificateFile /certs/domain.crt
SSLCertificateKeyFile /certs/domain.key

ProxyPreserveHost On
ProxyRequests Off

# dolt-workbench
ProxyPass /dolt-workbench http://some.ip:3000
ProxyPassReverse /dolt-workbench http://some.ip:3000

```

However, then connecting to "https://some.ip/dolt-workbench" just provides a blank, white page. There are console errors (404) for "https://some.ip/_next/static/...".

I would imagine there are some configs for changing the base path so that the configs could be at "https://some.ip/dolt-workbench/static/..." instead, but I could not find this config. I imagine I could build from source and change configs in "./web", but a parameter to be passed to the "docker run ..." step would be a better solution.

Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.