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>
22 lines
665 B
Plaintext
22 lines
665 B
Plaintext
# XWiki — starshipos-f18.com
|
|
<VirtualHost *:80>
|
|
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
|
|
RewriteEngine on
|
|
RewriteCond %{SERVER_NAME} =www.starshipos-f18.com [OR]
|
|
RewriteCond %{SERVER_NAME} =starshipos-f18.com
|
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
|
</VirtualHost>
|