Good day! I have this question. There is an application started by nginx and wsgi, it generates an html page where in the header
<script src="http://localhost/js/OpenLayers/OpenLayers.js"></script> <script src="http://localhost/map.js"></script> <link rel="stylesheet" type="text/css" href="http://localhost/static/css/main.css" />
In the nginx config location / {root / home / user / server; uwsgi_pass 127.0.0.1:3031; #uwsgi_pass unix: /// var / run / uwsgi / app / geoserv / socket; include uwsgi_params; ............}
location ~* .+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|mov) { expires 30d;}
The problem is that the page is generated, but css and js are not loaded. Tell me, please, what is the problem, thanks in advance!