From 1c5239a4d01c9847d7267ccfdb09fc8889f6a125 Mon Sep 17 00:00:00 2001 From: John Anderson Date: Thu, 22 Mar 2018 10:51:12 -0400 Subject: [PATCH] added X-Forwarded-Proto header to apache config --- docs/installation/web-server.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/installation/web-server.md b/docs/installation/web-server.md index f9a304ff5..39235200b 100644 --- a/docs/installation/web-server.md +++ b/docs/installation/web-server.md @@ -82,6 +82,7 @@ Once Apache is installed, proceed with the following configuration (Be sure to m ProxyPass ! + RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} ProxyPass / http://127.0.0.1:8001/ ProxyPassReverse / http://127.0.0.1:8001/ @@ -92,6 +93,7 @@ Save the contents of the above example in `/etc/apache2/sites-available/netbox.c ```no-highlight # a2enmod proxy # a2enmod proxy_http +# a2enmod headers # a2ensite netbox # service apache2 restart ```