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

Posted in 默认日志 | Tagged , | Comments Off on FIX SYNOLOGY NAS WORDPRESS PERMALINKS 404 ERROR

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

Posted in 默认日志 | 1 Comment