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

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.