| 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 : |
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName api.splitstream.philiprehberger.com
DocumentRoot /var/www/splitstream/current/public
# Hot-path carve-out — proxy to Octane (RoadRunner). These come BEFORE
# the global FPM proxy so the regex match wins for these paths.
ProxyPreserveHost On
ProxyRequests Off
ProxyPass /v1/assign http://127.0.0.1:8000/v1/assign
ProxyPassReverse /v1/assign http://127.0.0.1:8000/v1/assign
ProxyPass /v1/assign/batch http://127.0.0.1:8000/v1/assign/batch
ProxyPassReverse /v1/assign/batch http://127.0.0.1:8000/v1/assign/batch
ProxyPass /v1/events http://127.0.0.1:8000/v1/events
ProxyPassReverse /v1/events http://127.0.0.1:8000/v1/events
ProxyPass /v1/events/batch http://127.0.0.1:8000/v1/events/batch
ProxyPassReverse /v1/events/batch http://127.0.0.1:8000/v1/events/batch
ProxyPass /v1/exposures http://127.0.0.1:8000/v1/exposures
ProxyPassReverse /v1/exposures http://127.0.0.1:8000/v1/exposures
# Everything else: php8.3-fpm via the global FPM proxy hits Laravel's
# public/index.php (Apache's mod_proxy_fcgi handles the FastCGI hop).
<Directory /var/www/splitstream/current/public>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/splitstream-api-error.log
CustomLog ${APACHE_LOG_DIR}/splitstream-api-access.log combined
SSLCertificateFile /etc/letsencrypt/live/splitstream.philiprehberger.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/splitstream.philiprehberger.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>