nsidc / usaon-vta-webapp

Sankey diagrams to show value flows from observing system to data products to vital signs and societal benefits
MIT License
0 stars 0 forks source link

In the demo, why is NGINX configured with `try_files`? #21

Closed MattF-NSIDC closed 1 year ago

MattF-NSIDC commented 1 year ago

Does this enable saving state un URL parameters?

server {
  location ~ ^.*/(.*) {
    root /srv/app;
    try_files $uri $uri/ /$1 /sankey.html;
  }
}
MattF-NSIDC commented 1 year ago

I don't think it's important to answer this question to understand the demo (at least right now). Possibly a vestige of development process, possibly helps with saving state in URL.