Skip to content

[Feat] Default webserver splash#1117

Merged
RichardAnderson merged 4 commits into
vitodeploy:4.xfrom
RichardAnderson:feat/default-nginx-splash
May 23, 2026
Merged

[Feat] Default webserver splash#1117
RichardAnderson merged 4 commits into
vitodeploy:4.xfrom
RichardAnderson:feat/default-nginx-splash

Conversation

@RichardAnderson
Copy link
Copy Markdown
Member

This pull request introduces a new unified "splash page" for unmanaged domains on both Nginx and Caddy webservers, replacing the previous default configurations. It adds logic to deploy this splash page during installation and removes it during uninstallation, ensuring a consistent and branded experience for server owners and visitors. The implementation includes new deployment methods, updated templates, and cleanup procedures.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a unified “Vito splash page” for unmanaged domains and updates both Nginx and Caddy installation flows to deploy it (and uninstall flows to clean it up), replacing prior default webserver behavior.

Changes:

  • Added a shared HTML splash page and default vhost configs for Nginx and Caddy that serve it.
  • Updated Nginx/Caddy installers to deploy the splash assets and default host configuration.
  • Updated Nginx/Caddy uninstall scripts to remove /var/www/vito-splash.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
resources/views/ssh/services/webserver/vito-splash.blade.php New shared HTML splash page written to /var/www/vito-splash/index.html.
resources/views/ssh/services/webserver/nginx/uninstall-nginx.blade.php Removes splash directory on Nginx uninstall.
resources/views/ssh/services/webserver/nginx/default-vhost.blade.php New Nginx default server block serving splash on :80/:443.
resources/views/ssh/services/webserver/nginx/default-ssl-vhost.blade.php Removes old default SSL behavior (previously closed connections).
resources/views/ssh/services/webserver/caddy/uninstall-caddy.blade.php Removes splash directory on Caddy uninstall.
resources/views/ssh/services/webserver/caddy/default-vhost.blade.php New Caddy default site serving splash with tls internal.
app/Services/Webserver/Nginx.php Adds deploySplash() and calls it during install.
app/Services/Webserver/Caddy.php Adds deploySplash() and calls it during install.
app/Services/Webserver/AbstractWebserver.php Introduces abstract deploySplash() API for webserver implementations.

Comment thread app/Services/Webserver/Nginx.php Outdated
Comment thread app/Services/Webserver/Caddy.php Outdated
Comment thread resources/views/ssh/services/webserver/vito-splash.blade.php
Comment thread app/Services/Webserver/Nginx.php
Comment thread app/Services/Webserver/Caddy.php
@RichardAnderson RichardAnderson merged commit 0baa2f3 into vitodeploy:4.x May 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants