nginx – 哪种方式更好地重定向以及为什么

nginx – 哪种方式更好地重定向以及为什么

我想从www.mydomain.com重定向到nginx中的domain.com.我搜索互联网并发现两种方式:第一种方式server { listen 80; server_name www.domain.com; rewrite ^/(.*) http://domain.com/

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部