I am trying to deploy a plone 6 in docker on a server that already has nginx pointer to other sites but on the links on the new site I get ":null" inserted into the urls like this "https://pd-new.example.com/:null/about-us" and lower down in the site I get these "http://:null/about-us/case-studies"
I used the nginx-volto-plone docker-compose file and removed nginx part. In the frontend I set
I read this post with interest and tried out some of the suggestions made there but I still have ":null" appearing in my links. One thing I did not mention above is that if I have over a link and refresh the page, the path initially seems correct (ie. no null included "https://pd-new.example.com/about-us") but then I see in the console
And after that the path changes to include the ":null" for example "https://pd-new.example.com/:null/about-us". So somehow the resolveuid call is not being sent to the backend.
bash> docker logs frontend
Volto is running in SEAMLESS mode
Proxying API requests from http://localhost:3010/++api++ to http://localhost:8080/mysite
🎭 Volto started at 0.0.0.0:3010 🚀
And i don't see the rewrite of ++api++ to your backend, which should be part of your nginx configuration.
Thanks @claus. I did have a rewrite rule in there but it was obviously incorrect because I replaced it with your suggestion and the :nulls have disappeared!. I still get the resolveuid 404 in the console but I'll tackle that another day.