Make symfony the default for .localhost

This commit is contained in:
Tim 2025-05-10 12:51:25 +02:00
parent d886926c7f
commit 405409d2ba

View File

@ -5,6 +5,7 @@ server {
#server_name ~^(.+)\.local\.loken\.nl$; #server_name ~^(.+)\.local\.loken\.nl$;
server_name "~^(?<sub>.+)\.local\.loken\.nl$"; server_name "~^(?<sub>.+)\.local\.loken\.nl$";
server_name "~^(?<sub>.+)\.symfony\.localhost$"; server_name "~^(?<sub>.+)\.symfony\.localhost$";
server_name "~^(?<sub>.+)\.localhost$";
#map $http_host $rootpath { #map $http_host $rootpath {
# ~^(.?<mypath>+)\.local\.loken\.nl$ $mypath; # ~^(.?<mypath>+)\.local\.loken\.nl$ $mypath;
# default / ; # default / ;