Virtual hosts for starshipos-f18.com/.org (XWiki, Gitea, Nexus) with Let's Encrypt SSL. Old strshipos.* domains redirect 301 to new domains. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
675 B
Plaintext
23 lines
675 B
Plaintext
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerName starshipos-f18.com
|
|
ServerAlias www.starshipos-f18.com
|
|
|
|
ProxyPreserveHost On
|
|
ProxyRequests Off
|
|
|
|
ProxyPass / http://127.0.0.1:8091/
|
|
ProxyPassReverse / http://127.0.0.1:8091/
|
|
|
|
RequestHeader set X-Forwarded-Proto "http"
|
|
ProxyTimeout 300
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/starshipos-f18-com-error.log
|
|
CustomLog ${APACHE_LOG_DIR}/starshipos-f18-com-access.log combined
|
|
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
SSLCertificateFile /etc/letsencrypt/live/starshipos-f18.com/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/starshipos-f18.com/privkey.pem
|
|
</VirtualHost>
|
|
</IfModule>
|