Reverse proxy
There are two options when setting up DQM on premise. You can either use application provided HTTPS mode or set up a reverse proxy of your choice. We recommend using a 3rd party reverse proxy as it simplifies certificate management.
Required headers
Header | Explanation |
---|---|
X-Forwarded-For | Originating IP address for a client connecting through reverse proxy |
X-Forwarded-Proto | Protocol the client is using to connect to reverse proxy |
Host | Originating host name (example.com) which responds to proxy, used for CSP policy |
Samples
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
client_max_body_size 200M;
proxy_pass http://127.0.0.1:8090;
proxy_redirect off;
}
RequestHeader set X-Forwarded-For "%{REMOTE_ADDR}s"
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set Host "%{HTTP_HOST}s"
Last modified: 22 July 2024