9 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.

  4. Arkadi said…

    Why do you call it transparent?

    • said…

      Transparent refers to the fact that the proxy only sends data back and forth, it does not modify the web request sent by the client or response sent by the server. A non-transparent proxy would add content to the request or response.

      • said…

        that doesn’t make sense. transparent Should be means to client but not proxy. client doesn’t know the existense of proxy. it knows the server name or domain, and just send request to that server. proxy get this request and ask backend server for the request

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.