![]() ![]() Hello there can you please help me im trying to setup apache and nginx server on my ubuntu 16.04 server, but when i try to visit localhost/info.php fo example im gettingĮrror 502 bad gateway and this is from the error log file:Ĥ 10:50:55 14774#14774: *29 connect() failed (111: Connection refused) while connecting to upstream, client:ġ27.0.0.1, server:, request: "GET /info.php HTTP/1. for redirecting to a localhost webserver you need to change your dns settings (most probably via your hosts file) once youve done the dns change the most youll need at the nginx-side is a server -block with a servername so your server knows to accept requests for. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |