Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

Deploy rails project using subdirectories

1
Servers

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 ..
Thanks

Hey!
You may try nginx rewrite module - https://www.nginx.com/blog/creating-nginx-rewrite-rules/

Join the discussion
Create an account Log in