forked from TrueCloudLab/certificates
639993bd09
When constructing links we want to read the required host and protocol information in a dynamic manner from the request for constructing ACME links such as the directory information. This way, if the server is running behind a proxy, and we don't know what the exposed URL should be at runtime, we can construct the required information from the host, tls and X-Forwarded-Proto fields in the HTTP request. Inspired by the LetsEncrypt Boulder project (web/relative.go). |
||
---|---|---|
.. | ||
account.go | ||
account_test.go | ||
handler.go | ||
handler_test.go | ||
hostutil.go | ||
hostutil_test.go | ||
middleware.go | ||
middleware_test.go | ||
order.go | ||
order_test.go |