Nginx not passing http request to backend server

I have configured Nginx as a reverse-proxy to pass http requests to
When i try to see the domains thay all show me the default page of
The config file is in /etc/nginx/conf.d
Theese are the entries that i have for one of the domains
server {
listen 80;
server_name test.verofei.local;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For
proxy_pass http://test.verofei.local/;

So how can i configure nginx to act as a frontend reverse proxy for our
backend webservers?


Posted at Nginx Forum:,247568,247568#msg-247568

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs