群晖 Web Station + WordPress 固定链接

  • 登录SSH
sudo -i
  • 查看Web Station配置最后一行UUID
tail /etc/nginx/app.d/server.webstation-vhost.conf
  • 新建 WordPress 配置
vi /usr/local/etc/nginx/conf.d/U-U-I-D-D/user.conf.wordpress-permalink
location /{
    try_files $uri $uri/ /index.php?$args;
}
  • 重启生效
synoservicecfg --restart nginx
This entry was posted in 默认日志. Bookmark the permalink.