Add header upgrade-insecure-requests
Showing
1 changed file
with
5 additions
and
0 deletions
| ... | @@ -19,6 +19,11 @@ | ... | @@ -19,6 +19,11 @@ |
| 19 | - template_file: http/default.conf.j2 | 19 | - template_file: http/default.conf.j2 |
| 20 | deployment_location: /etc/nginx/conf.d/default.conf | 20 | deployment_location: /etc/nginx/conf.d/default.conf |
| 21 | config: | 21 | config: |
| 22 | headers: # Configure headers | ||
| 23 | add_headers: # Can be a dictionary or a list of dictionaries | ||
| 24 | - name: Content-Security-Policy # Required | ||
| 25 | value: 'upgrade-insecure-requests' # Required | ||
| 26 | always: true # Boolean | ||
| 22 | upstreams: | 27 | upstreams: |
| 23 | - name: jbosseap_test | 28 | - name: jbosseap_test |
| 24 | least_conn: true | 29 | least_conn: true | ... | ... |
-
Please register or sign in to post a comment