Nginx configured but not working
Posted: Thu Jan 07, 2021 12:25 pm
Hello, I have VestaCP installedon my server with nginx and I want one of my website to served through nginx to an application running on a port.
Now that I see that nginx is perfectly configured but still the website is using apache which it should not. The page shows vesta 403 forbidden page
Now that I see that nginx is perfectly configured but still the website is using apache which it should not. The page shows vesta 403 forbidden page
Code: Select all
server {
listen 80;
server_name aljabbalcorporation.com www.aljabbalcorporation.com;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://localhost:5001/;
}
}