| 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-enabled/ |
Upload File : |
<VirtualHost *:80>
ServerName api.switchyard.philiprehberger.com
DocumentRoot /var/www/switchyard/current/public
<Directory /var/www/switchyard/current/public>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Outbound HTTP from queue workers can need long FCGI timeouts when
# ClickUp's API is slow (rate-limit + 429 backoff loops can take 10-30s).
ProxyTimeout 300
# Cross-origin reads from the docs site at switchyard.philiprehberger.com.
# Per-workspace allowlists are workspace-level config; the vhost-level
# block here covers the public docs without a PHP round-trip on preflight.
Header always set Access-Control-Allow-Origin "https://switchyard.philiprehberger.com" "expr=%{REQUEST_URI} =~ m#^/v1/#"
Header always set Access-Control-Allow-Methods "GET, POST, PATCH, DELETE, OPTIONS" "expr=%{REQUEST_URI} =~ m#^/v1/#"
Header always set Access-Control-Allow-Headers "Authorization, Content-Type, Accept, Idempotency-Key" "expr=%{REQUEST_URI} =~ m#^/v1/#"
Header always set Access-Control-Max-Age "300" "expr=%{REQUEST_URI} =~ m#^/v1/#"
RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteCond %{REQUEST_URI} ^/v1/
RewriteRule ^(.*)$ $1 [R=204,L]
ErrorLog ${APACHE_LOG_DIR}/api-switchyard-error.log
CustomLog ${APACHE_LOG_DIR}/api-switchyard-access.log combined
RewriteCond %{SERVER_NAME} =api.switchyard.philiprehberger.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>