wordpress-nginx-docker
wordpress-nginx-docker copied to clipboard
404 Error when fetching asset files from /wp-content
Hey!
I've used your setup and it was working great.
Don't know why when I tried setting it up on other computers some assets weren't being server properly.
Any asset files inside plugins/themes folder isn't being loaded, the network tab shows a 404 error, seems like it never finds the file referenced. I checked in the wp container and all files are there.
This is what the wordpress.error.log
file looks like:
2023/02/06 14:58:56 [error] 28#28: *2 directory index of "/var/www/html/" is forbidden, client: 172.19.0.1, server: hostname request: "GET / HTTP/2.0", host: "hostname:8443"
I think it's probably an issue with the nginx server not "finding" those files. Could anyone help me with that?