HTTP Headers (e.g. Content-Security-Policy) on Pages #54257
-
Select Topic AreaQuestion BodyHi, I'm wondering if it's possible to set custom HTTP Headers on websites hosted on GitHub Pages? I know it's possible via the |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
We don't support this feature today so a |
Beta Was this translation helpful? Give feedback.
-
@yoannchaudet Are there any plans to support his in the future? I find it quite important to be able to change/add those headers. |
Beta Was this translation helpful? Give feedback.
-
can I also please vote for this feature. I need to add security headers to my site. Any site created with Github pages gets a Grade F score on https://securityheaders.io/ which is abysmal. Is there any update on the timescale for having this available please? |
Beta Was this translation helpful? Give feedback.
-
Need to add: These are new security requirements for using SharedArrayBuffer in javascript. |
Beta Was this translation helpful? Give feedback.
-
This deserves much more attention. In the nowadays internet security headers are becoming more and more important. Currently GitHub Pages doesn't have the ability to add custom headers, making it impossible to adopt these security measures. |
Beta Was this translation helpful? Give feedback.
-
+1 again on this. Maybe adding a lot of comments will cause enough traffic for the feature to get prioritized. |
Beta Was this translation helpful? Give feedback.
We don't support this feature today so a
meta
tag unfortunately is the only way.