| 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 : |
# Apache vhost for the Shipyard docs site.
# Reverse-proxies to the PM2-managed Next.js standalone server on :3013.
#
# Install:
# sudo cp infra/apache/shipyard.philiprehberger.com.conf \
# /etc/apache2/sites-available/
# sudo a2ensite shipyard.philiprehberger.com.conf
# sudo apache2ctl configtest
# sudo systemctl reload apache2
# sudo certbot --apache -d shipyard.philiprehberger.com
#
# After certbot, the matching shipyard.philiprehberger.com-le-ssl.conf
# is generated and the port-80 block below grows a redirect rule.
<VirtualHost *:80>
ServerName shipyard.philiprehberger.com
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://127.0.0.1:3013/
ProxyPassReverse / http://127.0.0.1:3013/
# Docs site is static SSG — no SSE / websocket / streaming. Default
# ProxyTimeout is fine.
ErrorLog ${APACHE_LOG_DIR}/shipyard-error.log
CustomLog ${APACHE_LOG_DIR}/shipyard-access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =shipyard.philiprehberger.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>