You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
vivianedias
changed the title
404 Error when fetching CSS or asset files from /wp-content
404 Error when fetching asset files from /wp-content
Feb 6, 2023
I was mapping the plugins and themes folder inside /var/www. I think that led nginx to that confusion, and not serve the files. For now I'm just using the /wordpress/wp-content folder to store those folders.
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?
The text was updated successfully, but these errors were encountered: