grails-plugins / grails-standalone

Apache License 2.0
20 stars 23 forks source link

added two runtime configuration options to allow for usage in common production-ready setup. #10

Closed robbertvanwaveren closed 9 years ago

robbertvanwaveren commented 9 years ago

I'd like to include support for the following two options for tomcat with this pull request.

"serverName" to allow for overriding the default value of the http "Server" header (common hardening practice)

"enableProxySupport" to support running behind an (SSL terminating) reverse proxy/load balancer while still receiving the real client ip-address and scheme (http/https) used to connect to the proxy

Espescially the last option can be quite handy as its tricky to accomplish on application level.