ZJ's Blog

随便记录点滴 ...
G
  • 首页
  • OpenWrt软件源
  • 关于

LNMP下Nginx如何实现域名301重定向

May 24, 2013 | 分类:Linux
No Comments

将zhangjun.sh.cn直接转向www.zhangjun.sh.cn

直接用VI编辑器打开 /usr/local/nginx/conf/vhost/www.zhangjun.sh.cn.conf 这个配置文件,代码如下

阅读剩余部分...

Tags: lnmp, rewrite, domian

分类

  • Linux (22)
  • Virtual (3)
  • Other (3)

Random Posts · 最新

  • RouterOS 基础设置
  • Android 手动设置NTP服务器
  • LEDE IPv6 中继设置
  • CentOS7 安装 PHP + NGINX
  • CentOS 7 安装 PostgreSQL 11
  • OpenWrt利用6plat部署IPv6环境
  • OpenWrt 18.06 内网PPTP无法拨号的修复
  • OpenWrt连WAN口做二级路由与一级路由内网互联
  • 大麦路由器DW33D安装vlmcsd,激活Windows及Office
  • CentOS 7 firewall 使用简介

Recent Posts · 新文章

  • RouterOS 基础设置
  • Android 手动设置NTP服务器
  • LEDE IPv6 中继设置
  • CentOS7 安装 PHP + NGINX
  • CentOS 7 安装 PostgreSQL 11
  • OpenWrt利用6plat部署IPv6环境
  • OpenWrt 18.06 内网PPTP无法拨号的修复
  • OpenWrt连WAN口做二级路由与一级路由内网互联
  • 大麦路由器DW33D安装vlmcsd,激活Windows及Office
  • CentOS 7 firewall 使用简介

Recent comments · 新评论

沪ICP备17023998号-2
  • Login
  • TOP