Skip to content

Add Contao 5 vhost template (fixes #53)#63

Open
SaleemAkhter wants to merge 1 commit into
cloudpanel-io:masterfrom
SaleemAkhter:fix/contao-5-template
Open

Add Contao 5 vhost template (fixes #53)#63
SaleemAkhter wants to merge 1 commit into
cloudpanel-io:masterfrom
SaleemAkhter:fix/contao-5-template

Conversation

@SaleemAkhter

Copy link
Copy Markdown

Summary

  • Adds a Contao 5 vhost template in v2, v2-varnish, and v2-http3 alongside the existing Contao 4 template
  • Uses the same nginx configuration as Contao 4 (compatible with Contao 4.8+ Managed Edition and Contao 5) with default PHP 8.3 for new Contao 5 sites
  • Keeps the existing Contao 4 template unchanged to avoid breaking current installations

Fixes #53

Test plan

  • Import templates via clpctl vhost-templates:import
  • Create a Contao 5 site and verify nginx vhost is generated correctly
  • Confirm Contao 4 template still works for existing sites

Contao 5 uses the same nginx configuration as Contao 4 but defaults to PHP 8.3, addressing the template naming concern in issue cloudpanel-io#53.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Contao template naming

1 participant