6 comments

  1. Pablo said…

    What about running Kibana an Graylog on the same server?

    How would you configure nginx to redirect URL/kibana and URL/graylog ?

    • said…

      You can do this too – you’ll need to tell nginx to proxy to a subdirectory with the location directive. Each location can use a separate block to proxy pass upstream.

  2. Oleg said…

    So, if I understand right, client requests resource by URL and Apache proxy server returns content of resource directly?
    Thanks

    • said…

      Apache can be configured to do the same thing, yes – it is just a bit heavier in system resources so I prefer nginx for this.

  3. Anfernee said…

    Does server_name have to be a valid domain name?

    • said…

      Nope – server_name can be an IP address or a URL. If you don’t have a valid domain name or DNS for the forwarding server, you could always make an entry in /etc/hosts to make it resolve that way.

Leave a Reply

Your email address will not be published. Required fields are marked *