Reputation: 5020
I have a Rails Application which runs on "thin"
Server on Windows Machine. I heard the best Server for Rails is Phusion Passenger
,but unfortunately my Server runs on Windows Machine and it is not possible to install Phusion Passenger in windows.
Is it possible to deploy my Rails Application in Apache Server. If possible will it effect the performance of my Rails Application.
Any Help is appreciated.
Upvotes: 0
Views: 289
Reputation: 5015
You can use apache to reverse proxy requests to the thin server. The apache configuration directives look a little like this (you will probably need to change these)
DocumentRoot /path/to/rails/public
<Location /assets >
ProxyPass !
</Location>
ProxyRequests Off
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
Replace 3000 with the port you set thin to run on.
Upvotes: 1