| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/codex/shared/apache/ |
Upload File : |
# Codex shared security headers. Included from every Codex vhost.
#
# Per-host CSP lives in csp-dashboard.conf, csp-api.conf, csp-admin.conf —
# CSP isn't included here because it differs between hosts. Everything in
# THIS file applies uniformly to both api.codex.philiprehberger.com and
# codex.philiprehberger.com.
<IfModule mod_headers.c>
# Block iframe embedding entirely. The dashboard never needs to be
# framed, and the api host has no UI surface to frame.
Header always set X-Frame-Options "DENY"
# MIME-sniffing defence — browsers should trust Content-Type.
Header always set X-Content-Type-Options "nosniff"
# Referrer policy: send origin to cross-site requests, full URL to
# same-origin. Standard tradeoff between analytics value and privacy.
Header always set Referrer-Policy "strict-origin-when-cross-origin"
# No surprise sensors. Camera / microphone / geolocation never
# legitimately needed by either Codex host.
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
# HSTS — only after manual verification HTTPS is reachable and
# certbot has issued the cert. NO 'preload' directive: preload
# commits the entire philiprehberger.com zone (every current +
# future subdomain) to HTTPS-only for 6-12 months. Submit to
# hstspreload.org as a separate explicit decision after auditing
# every existing + planned subdomain.
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
</IfModule>