location / { proxy_pass http://127.0.0.1:81; } Try this and make sure your Wordpress configuration is good on your Apache webserver