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
687 B
Plaintext
23 lines
687 B
Plaintext
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerName nexus.starshipos-f18.com
|
|
ServerAlias nexus.starshipos-f18.org
|
|
|
|
ProxyPreserveHost On
|
|
ProxyRequests Off
|
|
|
|
ProxyPass / http://127.0.0.1:8081/
|
|
ProxyPassReverse / http://127.0.0.1:8081/
|
|
|
|
RequestHeader set X-Forwarded-Proto "http"
|
|
ProxyTimeout 300
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/nexus-starshipos-f18-error.log
|
|
CustomLog ${APACHE_LOG_DIR}/nexus-starshipos-f18-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>
|