I'm using the official windows version of nginx. I want to specify the windows equivalent of this configuration
location /static/ {
alias /home/user/staticfiles/;
}
How do I specify windows file paths in the alias directive? Is this even possible?
From serverfault
Vasil
-
You can try this:
- copy your static files into nginx/html/staticfiles
set into nginx.conf
location /static/ { alias /nginx/html/staticfiles/; }
From Valery Victorovsky
0 comments:
Post a Comment