1 Reply Latest reply on Feb 27, 2014 2:57 AM by saumishr

    nginx 404 on ipad

    InspectorGadget

      Everything loads fine on my computer but i get a 404 on my ipad. There seems to be a lot of information for debugging localhost issues for apache servers. However, I cant seem to find any advice for running a localhost with nginx. Any help would be greatly appreciated.

       

      Thanks!

        • 1. Re: nginx 404 on ipad
          saumishr Employee Moderator

          Hi,

           

            Probably nginx is only listening to localhost. You need to add your IP address in the server block. 

          For example: 

          server { listen 80;

                        server_name      example.org

                                                   www.example.org

                                                   ""

                                                   xx.xx.xx.xx <IP-Address> ; }

           

           

          For more information on how to update server names please follow the article: http://nginx.org/en/docs/http/server_names.html.

          Further Try accessing the local page via http://<Your_IP_Address>.

           

          Let me know if this resolves your problem.

          1 person found this helpful