群晖 Web Station + WordPress 固定链接 [DSM6]

  • 登录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 Synology. Bookmark the permalink.