You’re not receiving notifications from this thread.
Deploy rails project using subdirectories
deploy the existing project with sub-directory without any change in project routes.
For example: project should run on https://domain.com/myproject/home instead of https://domain.com/home
need to append the subfolder name before /home ..
You may try nginx rewrite module - https://www.nginx.com/blog/creating-nginx-rewrite-rules/