You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/admin/configuration/configuring-your-enterprise/configuring-github-pages-for-your-enterprise.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ If subdomain isolation is disabled for your enterprise, you should also disable
45
45
{% data reusables.enterprise_site_admin_settings.access-settings %}
46
46
{% data reusables.enterprise_site_admin_settings.management-console %}
47
47
{% data reusables.enterprise_management_console.pages-tab %}
48
-
4. Unselect **Enable Pages**.
48
+
1. Unselect **Enable Pages**.
49
49

50
50
{% data reusables.enterprise_management_console.save-settings %}
51
51
@@ -56,12 +56,35 @@ If subdomain isolation is disabled for your enterprise, you should also disable
56
56
{% data reusables.enterprise-accounts.access-enterprise %}
57
57
{% data reusables.enterprise-accounts.policies-tab %}
58
58
{% data reusables.enterprise-accounts.pages-tab %}
59
-
5. Under "Pages policies", deselect **Enable {% data variables.product.prodname_pages %}**.
59
+
1. Under "Pages policies", deselect **Enable {% data variables.product.prodname_pages %}**.
60
60

61
61
{% data reusables.enterprise-accounts.pages-policies-save %}
62
62
63
63
{% endif %}
64
64
65
+
{% ifversion ghes > 3.4 %}
66
+
67
+
## Configuring {% data variables.product.prodname_pages %} response headers for your enterprise
68
+
69
+
You can add or override response headers for {% data variables.product.prodname_pages %} sites hosted by {% data variables.product.product_location %}.
70
+
71
+
{% warning %}
72
+
73
+
**Warning:** Ensure that your response headers are properly configured before saving. Improper configurations may negatively impact the security of {% data variables.product.product_location %}.
74
+
75
+
{% endwarning %}
76
+
77
+
{% data reusables.enterprise_site_admin_settings.access-settings %}
78
+
{% data reusables.enterprise_site_admin_settings.management-console %}
79
+
{% data reusables.enterprise_management_console.pages-tab %}
80
+
1. Type the headers settings, then click **Add headers**.
81
+
- In the **Http Header Name** field, type the header name. The length of header name should less than 128 characters.
82
+
- In the **Http Header Value** field, type the header value. The length of header value should less than 300 characters.
83
+

84
+
{% data reusables.enterprise_management_console.save-settings %}
0 commit comments