Recognition

Posts

1 Posts
  • Published Question

    Nginx redirect only root domain but not subdomain to www

    Currently I'm using setting below to redirect non-www domain to www domain and it's working fine: server { listen 80; servername example.com; return 301 http://www.example.com$requesturi; } se...
    2 By menuassist Nginx DNS Ubuntu 16.04