It is controled by the ownership of the public/ directory of your rails application. It should be less problemetic this way. Just make sure the file ownership and permission has been set properly, you should do that no matter what, less configuration work and less chance of misconfiguration.