summaryrefslogtreecommitdiffstats
path: root/docs/config/_default/security.toml
blob: 2be3f1ba847127624cb985c1f78e3056b6cedd9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
  enableInlineShortcodes = false

  [exec]
    allow = ['^go$']
    osEnv = ['^PATH$']

  [funcs]
    getenv = ['^HUGO_', '^REPOSITORY_URL$', '^BRANCH$']

  [http]
    methods = ['(?i)GET|POST']
    urls = ['.*']