How do I enable the css and favicon on my server using nginx
I've uploaded my website onto the nginx server but I can't see the css or favicon on the website even though it has been loaded.
This is a simple example of the file below:
<link href="style.css" rel="stylesheet" type="text/css">
If you recently added the file but it's not appearing, you might need to refresh your browser's cache.
If it still doesn't appear, then your web server might not be configured to load it correctly. Can you post your virtual host config here? Providing the domain name may also help us troubleshoot.