dshoreman / servidor

A modern web application for managing servers
GNU Lesser General Public License v2.1
9 stars 11 forks source link

Add option for forcing a www-prefix preference #567

Closed dshoreman closed 1 year ago

dshoreman commented 1 year ago

Adds a new dropdown to the domain form where a user can define whether the domain should have the "www." forced, removed, or "prefix agnostic".

Also adds a test to make sure the generated configs are as we'd actually expect, although there aren't any for SSL sites so that's one thing that could be improved in future if there are ever any issues with it.

codecov[bot] commented 1 year ago

Codecov Report

Merging #567 (75efd94) into develop (55ef74b) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             develop     #567   +/-   ##
==========================================
  Coverage      99.77%   99.77%           
  Complexity       455      455           
==========================================
  Files             95       95           
  Lines           1325     1327    +2     
==========================================
+ Hits            1322     1324    +2     
  Misses             3        3           
Impacted Files Coverage Δ
app/Http/Requests/Projects/NewProjectApp.php 100.00% <100.00%> (ø)
app/Http/Requests/Projects/NewProjectRedirect.php 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more