woodpecker/cmd
Mark Spicer 238e916fa0 Redirect HTTP to HTTPS when SSL is enabled.
In our current drone setup, we are not using a proxy, thus letting drone handle
SSL termination. In addition, we are not exposing port 80 (effectively disabling
insecure drone access). When new engineers join and attempt to access drone,
they are not sent a 301 and often complain that they either do not have access
or that drone is broken (when in reality they are just accessing drone via the
incorrect protocol/port).

This commit changes the default behavior when running drone with a server-cert
by only sending redirects on port 80 rather than allowing both secure and
insecure access.
2017-11-15 21:36:02 -05:00
..
drone-agent graceful shutdown on SIGTERM 2017-09-14 18:42:00 -07:00
drone-server Redirect HTTP to HTTPS when SSL is enabled. 2017-11-15 21:36:02 -05:00