[redirects-web/proxy] Force the host header
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web/proxy] Force the host header
- Date: Tue, 1 Feb 2022 16:10:51 +0000 (UTC)
commit 37eeae8daf093c083128d19a656a24a5ad2a867c
Author: Andrea Veri <averi redhat com>
Date: Tue Feb 1 17:10:43 2022 +0100
Force the host header
conf.d/ceph-dashboard.gnome.org.conf | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/conf.d/ceph-dashboard.gnome.org.conf b/conf.d/ceph-dashboard.gnome.org.conf
index 872dbb2..3c0c284 100644
--- a/conf.d/ceph-dashboard.gnome.org.conf
+++ b/conf.d/ceph-dashboard.gnome.org.conf
@@ -9,6 +9,7 @@ server {
server_name ceph-dashboard.gnome.org;
location / {
+ proxy_set_header Host "ceph-dashboard.gnome.org"
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_pass https://ceph_dashboard;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]