Add support for using RemoteSpringApplication behind a proxy

This commit adds two new properties, spring.devtools.remote.proxy.host
and spring.devtools.remote.proxy.port that can be used to configure
RemoteSpringApplication to connect to the remote application through
an HTTP proxy.

Closes gh-3968
This commit is contained in:
Andy Wilkinson
2015-10-02 10:28:57 +01:00
parent 0c2f281e89
commit 434d46f583
4 changed files with 51 additions and 2 deletions

View File

@@ -674,6 +674,8 @@ content into your application; rather pick only the properties that you need.
spring.devtools.remote.context-path=/.~~spring-boot!~ # context path used to handle the remote connection
spring.devtools.remote.debug.enabled=true # enable remote debug support
spring.devtools.remote.debug.local-port=8000 # local remote debug server port
spring.devtools.remote.proxy.host= # the host of the proxy to use to connect to the remote application
spring.devtools.remote.proxy.port= # the port of the proxy to use to connect to the remote application
spring.devtools.remote.restart.enabled=true # enable remote restart
spring.devtools.remote.secret= # a shared secret required to establish a connection
spring.devtools.remote.secret-header-name=X-AUTH-TOKEN # HTTP header used to transfer the shared secret

View File

@@ -1064,6 +1064,9 @@ property is read and passed to the server for authentication.
TIP: It's always advisable to use `https://` as the connection protocol so that traffic is
encrypted and passwords cannot be intercepted.
TIP: If you need to use a proxy to access the remote application, configure the
`spring.devtools.remote.proxy.host` and `spring.devtools.remote.proxy.port` properties.
[[using-boot-devtools-remote-update]]