Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property:

http.proxy.host

Example Value

http.proxy.host = proxy.myu.edu

Informational Note

Enter the host name without the port number. Only currently used for Creative Commons licensing feature (to contact their API), and Sitemap generation (to ping search server regarding updates)

Property:

http.proxy.port

Example Value

http.proxy.port = 2048

Informational NoteEnter the port number for the proxy server. Only currently used for Creative Commons licensing feature (to contact their API), and Sitemap generation (to ping search server regarding updates)

Property

useProxies

Example Value:

useProxies = true

Informational Note:

As of DSpace 7 (and above), this setting defaults to true. If "useProxies" is enabled, the authentication and statistics logging code will read the X-Forwarded-For header in order to determine the correct client IP address.

As the User Interface uses Angular Universal (for SEO support), the proxy server that comes with Angular Universal is always enabled. By default, only your local server (127.0.0.1) is "trusted" as a proxy. If your DSpace instance is protected by external proxy server, you may need to update the "proxies.trusted.ipranges" property below.

This also affects IPAuthentication, and should be enabled for that to work properly if your installation uses a proxy server.

Property

proxies.trusted.ipranges

Example Value:

proxies.trusted.ipranges = 127.0.0.1

Informational Note:

By default, only proxies running on localhost (127.0.01) are "trusted". This allows our Angular User Interface to communicate with the REST API via a trusted proxy on your local server.

Leave this property empty to trust X-Forwarded-For values of all requests. You can specify a range by only listing the first three ip-address blocks, e.g. 128.177.243
You can list multiple IP addresses or ranges by comma-separating them.

If you are running REST & UI on different servers, you should add the UI servers (range) as a proxy.
For example : proxies.trusted.ipranges = 127.0.0.1, 192.168.2

...