Answer the question
In order to leave comments, you need to log in
Why can't my css be rendered through nginx on the page?
Good afternoon, I decided to deal with nginx and stopped at the fact that when you run a web page through nginx, the browser does not want to render css. When switching to the URI of the style file, it loads without problems. Here is my experimental config:
events {
worker_connections 1024;
}
http {
server {
listen 80;
server_name localhost;
root ../../public/;
error_page 404 /404.html;
location / {
index /appProxy/index.html;
}
location /panda/ {
index /panda/index.html;
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question