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
626 B
Plaintext
22 lines
626 B
Plaintext
# XWiki .com instance
|
|
<VirtualHost *:80>
|
|
ServerName strshipos.com
|
|
ServerAlias www.strshipos.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}/strshipos-com-error.log
|
|
CustomLog ${APACHE_LOG_DIR}/strshipos-com-access.log combined
|
|
RewriteEngine on
|
|
RewriteCond %{SERVER_NAME} =strshipos.com [OR]
|
|
RewriteCond %{SERVER_NAME} =www.strshipos.com
|
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
|
</VirtualHost>
|