I didn't show information enough. /etc/nginx/nginx.conf is below. $ cat /etc/nginx/nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; # Load dynamic modules.by ShinShin - How to...
Hello everyone, I built a WordPress site working fine. The address is "http://mydomain.com" for example. Then I would like to indicate "http://mydomain.com/data/" to /home/data/index.html . So I modified the following /etc/nginx/default.d/locations.conf file. $ cat locations.conf location ~* /wp-config.php { deny all; } # Beginning oby ShinShin - How to...