Unable to remove wp-admin Login Prompt

I added woocoomerce on the WordPress runs on the Ubuntu 16.04 operating system.
the /wp-admin/ page always promt up when guest visit the account or shoppingcart pages.

I followed the document and removed the block of code that starts with location ^~ /wp-admin/. (vhost files in /etc/nginx/conf.d/.)

then the systemctl restart nginx.service command is falied and error record was nginx Failed with result 'exit-code'

Unable to find the solution by searching so pls help.
Sign In or Register to comment.