view Resources/Samples/Proxy/NOTES.txt @ 560:862a0370801f

support X-Forwarded-Proto & X-Forwarded-Host
author Alain Mazy <am@osimis.io>
date Mon, 24 Apr 2023 10:42:37 +0200
parents 76e517d2e300
children
line wrap: on
line source

This is a sample configuration file for nginx to test the DICOMweb
plugin behind a HTTP proxy. To start the proxy as a regular user:

$ nginx -c ./nginx.local.conf -p $PWD


References about "Forwarded" header in nginx:
https://onefeed.xyz/posts/x-forwarded-for-vs-x-real-ip.html
https://www.nginx.com/resources/wiki/start/topics/examples/forwarded/