使用Nginx的SubDirectory中的WordPress
无论我做什么,我的WordPress网站的工作很好,包括所有永久链接,但我无法访问wp-admin区域。 每当我尝试这样做,我得到一个404错误。 我已经将WordPress安装到自己的目录中,简称为“WordPress”。 这是我的configuration文件: server { listen 443 ssl; server_name my-domain.com; root /home/wp-user/my-domain.com/public; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; index index.html index.htm index.php; charset utf-8; # Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac). # Keep logging the requests to parse later (or to pass to firewall utilities such as fail2ban) location […]