* automatic detect php version and set php extension (for =>8 php version without installing gd, because Debian 11 need libgd3 fix for that) * mapping tld hostname for non-www redirection moved to conf.d and copy that file to remote machine with others existing map-files * some features in this commit not to be a tested in real environment
5 lines
75 B
Plaintext
5 lines
75 B
Plaintext
map $host $tld {
|
|
default $host;
|
|
'~^www\.(?<domain>.*)$' $domain;
|
|
}
|