I am learning wordpress and have a domain that already has a service at ‘/’. I am using nginx and added the following location direction:
location /wp {
deny all;
allow MY_PUBLIC_IP_ADDRESS;
alias /path/to/where/i/extracted/wordpress;
index index.php;
}
This just pulls up a notice that this is the index.php etc. But according to this: [https://www.tutorialspoint.com/wordpress/wordpress\_installation.htm](https://www.tutorialspoint.com/wordpress/wordpress_installation.htm)
It should be displaying the setup wizard. If i remove the `index index.php` line i get a 403 forbidden error.
I tried running these commands on the directory to set the correct permissions:
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
But i still get the 403 error. what am i doing wrong?
[ad_2]