i have failed in nginx as reverse proxy question however my config was right
and i checked config and output and was working perfect
thor@jump_host /$ curl 172.16.238.16:8092 The page is temporarily unavailable /*
i have failed in nginx as reverse proxy question however my config was right
and i checked config and output and was working perfect
Hi @ahmedaly
Can you please post more information as what canges you did in the config file
Also make sure you start both httpd and nginx services and they are up and running .
/etc/httpd/conf/httpd.conf
i change listen port to 3060 as i remember the port mention in the question and server name i add the backup server ip adress:3060
and restart service and make it enables
in the nginx config /etc/nginx/nginx.conf
i add proxy_pass http://backupserverip:3060;
and listen to 8092 instead of 80
and copy index file from jump server
then i test with curl and was working fine
what details do you need
@ahmedaly, you have not configured reverse proxy properly, your curl commad should display Weclome to xFusionCorp Industries!
instead of this screenshot.
i think this was not in question
and if so all my done is nothing
@ahmedaly, the index.html
file you have copied to apache’s doc root contains this Welcome to xFusionCorp Industries!
content.