how to make NGINX serve static content like .js, .css, .html?
Try
server { listen 80; server_name localhost; location ~* \.(css|js|gif|jpe?g|png)$ { expires 168h; } location / { proxy_pass http://127.0.0.1:8081/Test/; }}
How to test
In your CLI run ab -c 20 -n 1000 https://your-site/any-file
You will see Time taken for tests decrease drastically.