ApiPlatform with subfolder url does not show up the documentation

Viewed 120

I'm developing my API v2 on ApiPlatform.

This will run in a docker on one of my servers using Apache's mod_proxy.

Here is what I added within my server conf file so that https://myapi/v2 serves the correct container

ProxyPass /v2/ https://127.0.0.1:7054/
ProxyPassReverse /v2/ https://127.0.0.1:7054/

The default documentation does not know how to fetch public resources with /v2 after the domain "myapi". enter image description here

I understand that the ApiPlatform mechanism uses "asset" so it should automatically take the correct URL.

0 Answers
Related