Default config doesn't proxy /admin to the CMS #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The default
docker-entrypoint.sh+ nginx config served by the libreshop/nginx image only routes/(and/api/*per the upstream defaults) to the shop frontend./adminreturns 404, so the Strapi admin UI is unreachable when the libreshop toolkit runs in standalone (white-label) mode.Reproduce
Observed:
Tasks
/adminlocation block (and probably/_health,/upload/*for assets) to the libreshop nginx config that proxies tohttp://cms:5555.LIBRESHOP_NGINX_ADMIN_ENABLED?). Adapters that hide the admin behind a separate vhost (e.g. mp's nginx fronting muellerprints-paperwork.com) shouldn't have it leak.README.mdQuick start to mention how to reach the CMS admin once this lands.Acceptance criteria
curl http://localhost:8080/adminreturns a 200/302 (Strapi admin index) on a freshdocker compose up -drun oflibreshop/demo.muellerprints-paperwork.comif the env flag stays off there.Related