Skip to content

Add this to the docker-compose.yml file or CSS will always be broken for any FQDN #335

@HVR88

Description

@HVR88

Regardless of any MUSICBRAINZ_WEB_SERVER_* settings, the static resource URL should never be built with variables. The ultimate fix is to remove the building of that path using variables.

But for the quick fix, adding this to docker-compose.yml addresses the issue from user-config space without changing the underlying docker files.

  - STATIC_RESOURCES_LOCATION=/static/build

Now you can set the host or port to anything you want, with or without reverse proxy and css will be served from the correct relative path that all other resources are served from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions