Answer in comments, I didn't have the correct permissions set.
Moved from Stack Overflow
My website, https://davisstanko.com returns a 404 error for everything other than index.html. This includes files such as pictures which can be confirmed in the network tab of inspect element.
The code, available at https://github.com/DavisStanko/davisstanko.com works fine locally. This has lead me to believe the problem lies with nginx.
My website is hosted on a VPS from Vultr running Debian 11. It has ports 80 and 443 open.
My PC is running Manjaro and I'm using rsync to send the files to the VPS.
When running ls -l on the server, all files including those giving the 404 error return -rw-r--r--.
Below is the part of my nginx config that I believe may be relevant:
server {
server_name davisstanko.com ;
root /var/www/davisstanko/ ;
index index.html index.htm index.nginx-debian.html ;
location / {
try_files $uri $uri/ =404 ;
autoindex on ;
}
Access log: https://pastebin.com/fVNzNvKL
Error log: https://pastebin.com/1ynNggMw
If you need me to post more information please let me know.