Hello
I enabled python cgi in nginx server .I create a python simple on the
localhost it is showing on the browsers but when i download a html
temlate and converted html file to .py file then Css is not loading.403
error is popedup for css file.Please check my configuration why my Css file is not loading on the server.I put it on the var/www/html/myproject.In the my project folder there is a sub folder for css folder inside the css folder all css file are available But css file is not loading 403 error is popedup.
Please reply me as soon as possible it is very urgent
Server {
listen localhost:8080;
listen [::]:8060 ipv6only=on;
root /var/www;
index index.html index.htm index.py;
location /html/ {
# Disable gzip (it makes scripts feel slower since they have to complete
# before getting gzipped)
gzip off;
# Set the root to /usr/lib (inside this location this means that we are
# giving access to the files under /usr/lib/cgi-bin)
#root /var/www;
# Fastcgi socket
fastcgi_pass unix:/var/run/fcgiwrap.socket;
# Fastcgi parameters, include the standard ones
include /etc/nginx/fastcgi_params;
# Adjust non standard parameters (SCRIPT_FILENAME)
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}