Skip to content

Modular logistics and supply chain operating system (LSOS)

Make nginx pass the Host header

Eugene Dementyevfa536c61831d
diff --git a/docker/httpd/vhost.conf b/docker/httpd/vhost.conf
index 4b267f02..e45754a4 100644
--- a/docker/httpd/vhost.conf
+++ b/docker/httpd/vhost.conf
@@ -13,6 +13,7 @@ server {
index index.php;
location / {
+ proxy_set_header Host $host;
proxy_pass http://${NGINX_APPLICATION_HOSTNAME}:8000;
}
}