Project

Profile

Help

Issue #9577

open

Add ability to provide list of headers for pulp_webserver nginx template

Added by jamesmarshall24 over 2 years ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Add the ability to specify a list of nginx headers so users can define the headers needed to use the UI installed by pulp_installer.

Example variable structure:

pulp_nginx_user_headers:
  - "X-Content-Type-Options: nosniff"
  - "X-XSS-Protection: 1; mode=block"

Example templating for /roles/pulp_webserver/templates/nginx.conf.j2:

        # headers added with pulp_nginx_user_headers variable
{% for header in nginx_user_headers %}
        add_header {{ header }}
{% endfor %}
        # end of headers added with pulp_nginx_user_headers variable

No data to display

Also available in: Atom PDF