I run python FASTapi web-app on the server using nginx
and all works correctly excepting .css style.
When I open app on the server where I host it - all formattings are correct, but when I tried to open app from another PC I lose all formats.
I have following folders:
+---static
| +---css
| \---images
+---templates
| +---admin
| +---auth
| \---user
app.py
And in the nginx config file, I have the following setup
location /static {
# path for static files
root "C:/robots/poc_app";
}
How to setup nginx for pick up .css file?