larecipe
larecipe copied to clipboard
Issue when hosted in a subdirectory
If the base URL is
baseURL/subdiretory - a location in NGINX
Then the links redirects to baseURL/docs/... whereas the link should be baseURL/subdirectory/docs/...
in .env file, I have already set APP_URL to baseURL/subdirectory.
Is there any way to reset base directory in a subdirectory so that the links are generated correctly. Thanks in advance.
Can you post some screenshots?
First of all, congratulations for this excellent package !
However, same issue for me with Apache server and multiple Laravel applications on the same server as below
/ApacheDocumentRoot/application1 /application2 /application3
the base url of the application1 is https://myDomain/application1
as defined in the .env file
the link generated in the sidebar for application1 documentation is :
https://myDomain/docs/1.0/overview
instead of
https://myDomain/application1/docs/1.0/overview
I do not encounter this problem elsewhere I'm interested if there is a way to correct these links in the sidebar Thanks