How can I configure a Dockerized Frappe/ERPNext v15.47.1 setup to ensure that requests to https://samar.iitk.ac.in/assets/ are correctly redirected to https://samar.iitk.ac.in/dhs/assets/ by pointing the base directory to /dhs?
You cannot change assets path or set base href
Alright, is there an alternative way to achieve this? The ERPNext instance is running in a Docker container, and I am attempting to access it via the URL samar.iitk.ac.in/dhs.
Frappe app’s ui cannot be served from any other route than the base route “/”.
All internal js functions and browser routes are based on “/”
You can reverse proxy the api from any route. I.e. /api/* routes can be served from and other domain or served along with your custom frontend client.
Frappe’s ui cannot be served from /dhs/app. It’ll be served from /app.