| 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 : |
# Foyer — docs + marketing + live demo. Next.js standalone build behind PM2.
#
# PM2 port: 3017 — first port not bound when foyer-web shipped
# (3000-3016 are all assigned; the guide § 6 table is stale).
# Subdomain: foyer.philiprehberger.com (per the portfolio plan).
#
# After `sudo a2ensite foyer-web.conf` and an initial cert issuance
# (`sudo certbot --apache -d foyer.philiprehberger.com`), certbot writes a
# matching `foyer-web-le-ssl.conf` for port 443 + appends the redirect
# below.
<VirtualHost *:80>
ServerName foyer.philiprehberger.com
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:3017/
ProxyPassReverse / http://127.0.0.1:3017/
# Long timeout for the embedded widget's SSE stream and any agent
# streaming endpoints exposed through the docs host.
ProxyTimeout 600
ErrorLog ${APACHE_LOG_DIR}/foyer-web-error.log
CustomLog ${APACHE_LOG_DIR}/foyer-web-access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =foyer.philiprehberger.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
# Requires: proxy, proxy_http already enabled host-wide (they are).