0
votes
0answers
194 views

using nginx with proxy_pass on a subdomain

a have a rails app that should listen on the subdomain redmine.example.com (using proxy_pass). all other requests for *.example.com should just redirect to a normal index.html. Here is my ...
0
votes
1answer
212 views

staging and production on same server with domain wildcards

I have a virtual host configured to run a Ruby on Rails app on Apache and Passenger this way: <VirtualHost *:80> ServerAdmin account@gmail.com ServerName staging.domain.co ServerAlias ...
1
vote
2answers
1k views

Config Subdomain to point to heroku app

I have to host a subdomain of my domain to heroku app. For example abc.com points to a Hostgator account. I want to configure app.abc.com to heroku app. The domain is registered with godaddy. Can ...
0
votes
1answer
185 views

Forcin Nginx to render URI from Rails using Passenger

Is it possible to force Nginx to render some URL from Rails app although file exists on server? I want to hide some files based from which subdomain request comes. So I would like to completely avoid ...
3
votes
2answers
648 views

Static subdomains (used as asset hosts) sometimes are slow or don't work

My setup: Dedicated server, Running my own DNS server, Apache 2, A Ruby on Rails App running on Phusion Passenger 2.2.9, using rail's dynamic asset host generator that fetches assets using these ...