Hacker News new | ask | show | jobs
by merlincorey 3780 days ago
For that use case, I would recommend two locations like so:

    location = / {
      # Just whatever happens for "/" requests goes here
    }
    
    location / {
      # Every other requests ends up here
    }