Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had the exact same problem before. To solve it for CSS and other external static files: </p> <ol> <li><p>Edit your mime.types file (or create one if it doesn't exist). (Your mime.types file is probably located in /etc/nginx/)</p></li> <li><p>Copy and paste this in (quoting from from <a href="http://wiki.nginx.org/FullExample" rel="nofollow">http://wiki.nginx.org/FullExample</a>): </p> <p><code>types { text/html html htm shtml; text/css css; text/xml xml rss; image/gif gif; image/jpeg jpeg jpg; application/x-javascript js; text/plain txt; text/x-component htc; text/mathml mml; image/png png; image/x-icon ico; image/x-jng jng; image/vnd.wap.wbmp wbmp; application/java-archive jar war ear; application/mac-binhex40 hqx; application/pdf pdf; application/x-cocoa cco; application/x-java-archive-diff jardiff; application/x-java-jnlp-file jnlp; application/x-makeself run; application/x-perl pl pm; application/x-pilot prc pdb; application/x-rar-compressed rar; application/x-redhat-package-manager rpm; application/x-sea sea; application/x-shockwave-flash swf; application/x-stuffit sit; application/x-tcl tcl tk; application/x-x509-ca-cert der pem crt; application/x-xpinstall xpi; application/zip zip; application/octet-stream deb; application/octet-stream bin exe dll; application/octet-stream dmg; application/octet-stream eot; application/octet-stream iso img; application/octet-stream msi msp msm; audio/mpeg mp3; audio/x-realaudio ra; video/mpeg mpeg mpg; video/quicktime mov; video/x-flv flv; video/x-msvideo avi; video/x-ms-wmv wmv; video/x-ms-asf asx asf; video/x-mng mng; }</code></p></li> <li><p>Next, insert inside the http section of the nginx.conf file (located in /etc/nginx/): </p> <p><code>include /etc/nginx/mime.types;</code> (or whatever path leads to your mime.types file)</p></li> <li><p>Finally, reload nginx.conf by entering on the command line: </p> <p><code>sudo /etc/init.d/nginx reload</code></p></li> <li><p>I would also restart nginx: </p> <p>sudo /etc/init.d/nginx restart</p></li> </ol> <p>EDIT: I don't know why my code snippet above is formatted so wacky. Apologies.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload