Browse Source

Consolidate duplicate 'Location' stanzas in pillar.example; SLS Rendering Error fix

tags/v0.37.4
Noel McLoughlin 7 years ago
parent
commit
a07560a7ea
1 changed files with 8 additions and 9 deletions
  1. +8
    -9
      pillar.example

+ 8
- 9
pillar.example View File

/error: /error:
Require: 'all granted' Require: 'all granted'


/docs:
Order: allow,deny # For Apache < 2.4
Allow: from all # For apache < 2.4
Require: all granted # For apache > 2.4.
Formula_Append: |
Additional config as a
multi-line string here

LocationMatch: LocationMatch:
'^[.\\/]+([Ww][Ee][Bb][Mm][Aa][Ii][Ll])[.\\/]': '^[.\\/]+([Ww][Ee][Bb][Mm][Aa][Ii][Ll])[.\\/]':
Require: False Require: False
Alias: Alias:
/docs: /usr/share/docs /docs: /usr/share/docs


Location:
/docs:
Order: allow,deny # For Apache < 2.4
Allow: from all # For apache < 2.4
Require: all granted # For apache > 2.4.
Formula_Append: |
Additional config as a
multi-line string here

Formula_Append: | Formula_Append: |
Additional config as a Additional config as a
multi-line string here multi-line string here

Loading…
Cancel
Save