Despite EXTERNAL_URL in the .env file being set to https://laboratory.example.tld/firezone/, websocket connections and the like still attempt to connect to https://laboratory.example.tld/live/websocket etc. which results in a 404.
Additionally, certain resources (like fonts) also fail to load. As they’re attempting to access https://laboratory.example.tld/dist/fira-sans-all-etc etc instead of https://laboratory.example.tld/firezone/dist/fira-sans-all-etc etc.
My docker-compose is the same as stock except with the removal of caddy and the addition of a “nginx_proxy” network to allow my nginx docker to connect to the firezone container via http://firezone:13000/
Any help with this would be greatly appreciated, I’m at my wits end
Hi @mechanopixel – thanks for the detailed info. This may be a bug, but let’s first make sure Phoenix is picking up your external URL correctly. Could you run this on your host and reply with the output here:
# Run this from your Firezone root dir, e.g. $HOME/.firezone
docker-compose exec -it firezone bin/firezone rpc "IO.inspect(Application.fetch_env!(:fz_http, FzHttpWeb.Endpoint))"
Judging from the output, it seems like it should be recognizing that it should be serving data with https://laboratory.example.tld/firezone/ being prefixed
Here is a screenshot of my browser’s console output. Just in case, I’ve tried this in Chromium and in Incognito mode, as well (to rule out addons being the culprit). The only thing being censored is the domain name.