forem / selfhost

Selfhost your Forem Community on your own infrastructure 🎉
https://www.forem.com/get-started/
GNU Affero General Public License v3.0
1.43k stars 169 forks source link

Surround value with quotes #45

Closed djuber closed 2 years ago

djuber commented 2 years ago

Fixes an error seen when starting traefik due to an unquoted string

*file.Provider: Near line 22 (last key parsed 'http.middlewares.security.headers.ReferrerPolicy'): expected value but found \"same\" instead"

On main - building in qemu - the resulting /opt/forem/configs/traefik/dynamic.toml includes an unquoted string for referrer policy:

ReferrerPolicy = same-origin

On this branch the generated toml file quotes that value

ReferrerPolicy = "same-origin"