I made a /data/www folder and put files in it, but it does not work. Nginx V1.10.0 Ubuntu 16.04 x64by ngxxxx - How to...
From the official documentation: https://nginx.org/en/docs/beginners_guide.html#static location / { root /data/www; } ^^^ My problem: This does not work for me.by ngxxxx - How to...
Nginx throws 404 when I try to serve files from a root in "location /". But if I put the same path in "location /something/", it works: ~~~~ server { listen 8080; server_name localhost; location / { root /home/username/Documents/app/static; --------> // http://localhost:8080/something/file.js // --> Gives me 404 --------> // http://localhostby ngxxxx - How to...
![]() |
![]() |
![]() |
![]() |
|