You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
As today is not possible to configure multiple host name (or host alias) for a single server configuration, so the configuration need to be duplicated for all the cases, for example if you want to configure example.com and www.example.com the configuration need to be
server {
listen 443
root /var/www/html
host example.com
compress on
....
}
server {
listen 443
root /var/www/html
host www.tglman.com
compress on
....
}
Hi,
As today is not possible to configure multiple host name (or host alias) for a single server configuration, so the configuration need to be duplicated for all the cases, for example if you want to configure
example.com
andwww.example.com
the configuration need to behere an example of my configuration: https://www.tglman.com/posts/new_host_for_the_blog_with_new_tools.html where i duplicate de configuration also for listen in ipv4 and ipv6.
Regards
The text was updated successfully, but these errors were encountered: