So, I have this setup under my nginx sites-available file.
passenger_pre_start http://my_site; log_format access_with_host \'$remote_addr/$http_