FIX SYNOLOGY NAS WORDPRESS PERMALINKS 404 ERROR

查看下记文件,获取固有の番号

tail /etc/nginx/app.d/server.webstation-vhost.conf

include /usr/local/etc/nginx/conf.d/固有の番号/user.conf*;

新建Wordpress配置文件

sudo vi /usr/local/etc/nginx/conf.d/固有の番号/user.conf.wordpress-permalink

添加

location /{
try_files $uri $uri/ /index.php?$args;
}

重启

sudo synoservicecfg --restart nginx

This entry was posted in 默认日志 and tagged , . Bookmark the permalink.