Reputation: 101
I currently have the following scenario on one of my VPSs:
Need to migrate both to a new server as Dokku apps and that should result in two apps: one for the static landing page and one to the Rails app. Is that even possible? If yes, any tips?
Thanks!
Upvotes: 0
Views: 351
Reputation: 101
Got it working by setting a reverse proxy on the landing page app's nginx config file, pointing to the main app:
That's the main steps. Had to tweak forwarded headers a bit to get SSL working fine, but it works fine!
Upvotes: 1