- Add Authorization header passthrough in .htaccess for PHP-FPM - Remove invalid 'severity' column query from DashboardController - Add landing page (index.html) with feature overview Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
481 B
ApacheConf
17 lines
481 B
ApacheConf
RewriteEngine On
|
|
|
|
# Pass Authorization header to PHP-FPM
|
|
RewriteCond %{HTTP:Authorization} .+
|
|
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|
|
|
# Redirect HTTP to HTTPS (production)
|
|
# RewriteCond %{HTTPS} off
|
|
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
|
|
|
# If file or directory exists, serve directly
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
# Route everything through index.php
|
|
RewriteRule ^(.*)$ index.php [QSA,L]
|