Missing CSS/JS in the Control Panel The issue I am experiencing is very similar to the one described here: link.  The fix described there does not work.

Here is what happens when I request a resource from that page directly using curl:

$ curl -v 'http://localhost/admin/resources/js/craft.js?d=1474612391'
*   Trying ::1...
* Connected to localhost (::1) port 80 (#0)
&gt; GET /admin/resources/js/craft.js?d=1474612391 HTTP/1.1
&gt; Host: localhost
&gt; User-Agent: curl/7.47.0
&gt; Accept: */*
&gt; 
&lt; HTTP/1.1 200 OK
&lt; Server: nginx
&lt; Date: Fri, 23 Sep 2016 07:07:59 GMT
&lt; Content-Type: application/javascript; charset=utf-8
&lt; Transfer-Encoding: chunked
&lt; Connection: keep-alive
&lt; Vary: Accept-Encoding
&lt; X-Powered-By: PHP/7.0.8-0ubuntu0.16.04.2
&lt; Content-Disposition: attachment; filename="craft.js"
&lt; X-Sendfile: [CENSORED]/craft/app/resources/js/compressed/craft.js
&lt; 
* Connection #0 to host localhost left intact


Here is some version info:


Linux: 16.04 LTS (Xenial Xerus)
PHP: 7.0.8-0ubuntu0.16.04.2
nginx: 1.10.0


Here is a link to my nginx config (approximately).

Here is a screenshot of what the page looks like:
The setting useXSendFile was set to true.  I changed this setting to false and everything works now.  Looks like this guide could help to get things working when this setting is set to true.