summaryrefslogtreecommitdiffstats
path: root/docs/Running-behind-apache.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-08 16:27:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-08 16:27:08 +0000
commit81581f9719bc56f01d5aa08952671d65fda9867a (patch)
tree0f5c6b6138bf169c23c9d24b1fc0a3521385cb18 /docs/Running-behind-apache.md
parentReleasing debian version 1.38.1-1. (diff)
downloadnetdata-81581f9719bc56f01d5aa08952671d65fda9867a.tar.xz
netdata-81581f9719bc56f01d5aa08952671d65fda9867a.zip
Merging upstream version 1.39.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/Running-behind-apache.md')
-rw-r--r--docs/Running-behind-apache.md19
1 files changed, 4 insertions, 15 deletions
diff --git a/docs/Running-behind-apache.md b/docs/Running-behind-apache.md
index d152306ff..045bb676e 100644
--- a/docs/Running-behind-apache.md
+++ b/docs/Running-behind-apache.md
@@ -1,13 +1,4 @@
-<!--
-title: "Netdata via apache's mod_proxy"
-custom_edit_url: "https://github.com/netdata/netdata/edit/master/docs/Running-behind-apache.md"
-sidebar_label: "Netdata via apache's mod_proxy"
-learn_status: "Published"
-learn_topic_type: "Tasks"
-learn_rel_path: "Setup/Expose local dashboard through proxy"
--->
-
-# Netdata via apache's mod_proxy
+# Netdata via Apache's mod_proxy
Below you can find instructions for configuring an apache server to:
@@ -38,13 +29,11 @@ Also, enable the rewrite module:
```sh
sudo a2enmod rewrite
```
-
-
## Netdata on an existing virtual host
On any **existing** and already **working** apache virtual host, you can redirect requests for URL `/netdata/` to one or more Netdata servers.
-### proxy one Netdata, running on the same server apache runs
+### Proxy one Netdata, running on the same server apache runs
Add the following on top of any existing virtual host. It will allow you to access Netdata as `http://virtual.host/netdata/`.
@@ -74,7 +63,7 @@ Add the following on top of any existing virtual host. It will allow you to acce
</VirtualHost>
```
-### proxy multiple Netdata running on multiple servers
+### Proxy multiple Netdata running on multiple servers
Add the following on top of any existing virtual host. It will allow you to access multiple Netdata as `http://virtual.host/netdata/HOSTNAME/`, where `HOSTNAME` is the hostname of any other Netdata server you have (to access the `localhost` Netdata, use `http://virtual.host/netdata/localhost/`).
@@ -355,7 +344,7 @@ If your apache server is not on localhost, you can set:
`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
+## Prevent the double access.log
apache logs accesses and Netdata logs them too. You can prevent Netdata from generating its access log, by setting this in `/etc/netdata/netdata.conf`: