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>
24 lines
705 B
Plaintext
24 lines
705 B
Plaintext
# Nexus — canonical: nexus.strshipos.com
|
|
<VirtualHost *:80>
|
|
ServerName nexus.strshipos.com
|
|
ServerAlias nexus.strshipos.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"
|
|
|
|
# Nexus needs large client body for artifact uploads
|
|
ProxyTimeout 300
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/nexus-error.log
|
|
CustomLog ${APACHE_LOG_DIR}/nexus-access.log combined
|
|
RewriteEngine on
|
|
RewriteCond %{SERVER_NAME} =nexus.strshipos.org [OR]
|
|
RewriteCond %{SERVER_NAME} =nexus.strshipos.com
|
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
|
</VirtualHost>
|