cloudfoundry / docs-buildpacks

http://docs.cloudfoundry.org/buildpacks/
Apache License 2.0
21 stars 118 forks source link

Configuring ForceHttps via Staticfile #193

Closed dmarmugi closed 5 years ago

dmarmugi commented 6 years ago

Hi, Currently the docs say to force https on the Staticfile buildpack to:

set the FORCE_HTTPS environment variable to true

It appears you can also set it via a Staticfile parameter (from src/staticfile/finalize/finalize.go):


type Staticfile struct {
...
    ForceHTTPS            bool   `yaml:"force_https"```

Can/should the Staticfile configuration method be added to the docs? 

Thanks,
-David
cf-gitbot commented 6 years ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

bentarnoff commented 5 years ago

Hey @dmarmugi thanks for this! We've updated the docs accordingly.