terriajs-server
Advanced tools
Changelog
2.8.0
redirectToHttps
in the server config to automatically redirect requests. The list httpAllowedHosts
in the server config can be used to specify specific hosts for which http
access is still allowed.Changelog
2.7.4
proxy
now verifies that the target of a server-side redirect (e.g. HTTP 301 status code) is in the whitelist. If it's not, the redirect is returned to the client instead of handled on the server.blackedlistedAddresses
in the config file. If your server has privileged access to any internet-routable addresses, be sure to add those addresses to the blacklist.Changelog
2.7.3
proxyAuth
key in the --config-file
, as an alternative to --proxy-auth
.Changelog
2.7.2
--proxy-auth
to automatically supply HTTP basic authentication credentials, and the remote server returns 403 (Forbidden), we now retry the request without the credentials. This will usually result in the server responding with a 401 (Unauthorized), causing the user's browser to prompt for credentials. This is useful when some of the resources on the server are not available with the automatic credentials but will work if more powerful credentials are supplied.Changelog
2.7.1
authorization
.--public false
now runs just a single server process, to support easier debugging.Strict-Transport-Security
to the list of response headers that are not passed through to the client by the proxy.Changelog
2.7.0
Changelog
2.6.7
proxyPostSizeLimit
in the server config. If no unit is specified bytes is assumed, or use some reasonable unit like 'kb' for kilobytes or 'mb' for megabytes.Changelog
2.6.6
Content-Length: 0
to be included in proxied GET requests.