diff options
Diffstat (limited to '')
-rw-r--r-- | docs/Running-behind-nginx.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/Running-behind-nginx.md b/docs/Running-behind-nginx.md index 0cb16309..a94f4058 100644 --- a/docs/Running-behind-nginx.md +++ b/docs/Running-behind-nginx.md @@ -1,6 +1,10 @@ <!-- title: "Running Netdata behind Nginx" -custom_edit_url: https://github.com/netdata/netdata/edit/master/docs/Running-behind-nginx.md +custom_edit_url: "https://github.com/netdata/netdata/edit/master/docs/Running-behind-nginx.md" +sidebar_label: "Running Netdata behind Nginx" +learn_status: "Published" +learn_topic_type: "Tasks" +learn_rel_path: "Setup/Expose local dashboard through proxy" --> # Running Netdata behind Nginx @@ -169,7 +173,7 @@ Using the above, you access Netdata on the backend servers, like this: ### Encrypt the communication between Nginx and Netdata -In case Netdata's web server has been [configured to use TLS](/web/server/README.md#enabling-tls-support), it is +In case Netdata's web server has been [configured to use TLS](https://github.com/netdata/netdata/blob/master/web/server/README.md#enabling-tls-support), it is necessary to specify inside the Nginx configuration that the final destination is using TLS. To do this, please, append the following parameters in your `nginx.conf` @@ -212,7 +216,7 @@ If your Nginx is on `localhost`, you can use this to protect your Netdata: bind to = 127.0.0.1 ::1 ``` ---- + You can also use a unix domain socket. This will also provide a faster route between Nginx and Netdata: @@ -232,7 +236,6 @@ upstream backend { } ``` ---- If your Nginx server is not on localhost, you can set: @@ -244,7 +247,7 @@ If your Nginx server is not on localhost, you can set: *note: Netdata v1.9+ support `allow connections from`* -`allow connections from` accepts [Netdata simple patterns](/libnetdata/simple_pattern/README.md) to match against the +`allow connections from` accepts [Netdata simple patterns](https://github.com/netdata/netdata/blob/master/libnetdata/simple_pattern/README.md) to match against the connection IP address. ## Prevent the double access.log |