Created
December 27, 2024 00:29
-
-
Save Nooshu/a3bb16896f20db5ebbaa137365b6e4f6 to your computer and use it in GitHub Desktop.
Render version of the _headers file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| - type: web | |
| staticHeaders: | |
| - path: /* | |
| name: Access-Control-Allow-Origin | |
| value: https://nooshu.com | |
| - path: /* | |
| name: Cache-Control | |
| value: "public, s-maxage=31536000, max-age=31536000" | |
| - path: /* | |
| name: Content-Security-Policy | |
| value: "base-uri 'self';child-src 'self';connect-src 'self';default-src 'none';img-src 'self' https://v1.indieweb-avatar.11ty.dev/;font-src 'self';form-action 'self' https://webmention.io https://submit-form.com/DmOc8anHq;frame-ancestors;frame-src 'self' https://player.vimeo.com/ https://www.slideshare.net/ https://www.youtube.com/ https://giscus.app/ https://www.google.com/;manifest-src 'self';media-src 'self';object-src 'none';script-src 'self' https://giscus.app/ https://www.google.com/ https://www.gstatic.com/;style-src 'self' 'unsafe-inline' https://giscus.app/;worker-src 'self';upgrade-insecure-requests" | |
| - path: /* | |
| name: Cross-Origin-Opener-Policy | |
| value: same-origin | |
| - path: /* | |
| name: Permissions-Policy | |
| value: "accelerometer=(),ambient-light-sensor=(),autoplay=(),camera=(),display-capture=(),document-domain=(),encrypted-media=(),fullscreen=(),geolocation=(),gyroscope=(),magnetometer=(),microphone=(),midi=(),navigation-override=(),payment=(),picture-in-picture=(),publickey-credentials-get=(),screen-wake-lock=(),sync-xhr=(),usb=(),web-share=(),xr-spatial-tracking=()" | |
| - path: /* | |
| name: Referrer-Policy | |
| value: strict-origin-when-cross-origin | |
| - path: /* | |
| name: Cross-Origin-Resource-Policy | |
| value: cross-origin | |
| - path: /* | |
| name: Strict-Transport-Security | |
| value: "max-age=63072000; includeSubDomains; preload" | |
| - path: /* | |
| name: X-Content-Type-Options | |
| value: nosniff | |
| - path: /* | |
| name: X-DNS-Prefetch-Control | |
| value: "off" | |
| - path: /* | |
| name: X-Frame-Options | |
| value: DENY | |
| - path: /* | |
| name: X-Permitted-Cross-Domain-Policies | |
| value: none | |
| - path: /* | |
| name: Origin-Agent-Cluster | |
| value: "?1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment