how do I load stylesheet.css in nginx
I don't know where to put my stylesheet.css file so it can be used by my index.html file. I am also wondering if I need to change anything in my nginx.conf file. Also I am not sure if I should be asking this question here or in the programming section. Here is my nginx.conf I just left it in the default settings. I have nginx installed on a debian amd64 computer and am just using it to locally test my html and hopefully css files. When I write a html file by itself without any css files the website loads perfectly but I want to experiment with css as well. I have been putting the html in /usr/share/nginx/www/index.html
and I tried putting the stylesheet.css in the same directory but the rules are not being applied. Tell me if I should show some files here to debug my problem please.
|