| 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 : |
# Canonical vhost — keep in sync with /etc/apache2/sites-available/api.pennant.philiprehberger.com.conf.
# Certbot will append the matching -le-ssl.conf companion on first --apache run.
<VirtualHost *:80>
ServerName api.pennant.philiprehberger.com
DocumentRoot /var/www/pennant/current/public
<Directory /var/www/pennant/current/public>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# SSE: long-lived, no buffering.
ProxyPreserveHost On
ProxyRequests Off
ProxyTimeout 86400
<Location /v1/stream>
ProxyPass http://127.0.0.1:8081/stream
ProxyPassReverse http://127.0.0.1:8081/stream
SetEnv proxy-sendcl 1
SetEnv proxy-nokeepalive 0
</Location>
ErrorLog ${APACHE_LOG_DIR}/pennant-api-error.log
CustomLog ${APACHE_LOG_DIR}/pennant-api-access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =api.pennant.philiprehberger.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>