Fix nginx mime types.

[?]
Aug 15, 2020, 8:42 PM
5FLAK3ME76HKLOA23A5PNXQXN3ATLU2K6DSAEHIDT2EGJMHWMQSAC

Dependencies

  • [2] NSRSSSTR Update nginx.conf, make aftok host configurable for cli scripts.
  • [*] GMYPBCWE Make docker-compose work.
  • [*] XZLSHL4D The server is now (tenuously) running, and serving pages via SSL!

Change contents

  • file addition: mime.types (----------)
    [4.1614]
    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;
    image/png png;
    image/x-icon ico;
    application/pdf pdf;
    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;
    }
  • edit in deploy/nginx/nginx.conf at line 24
    [2.51]
    [2.51]
    include /etc/nginx/mime.types;
  • edit in deploy/nginx/nginx.conf at line 45
    [5.917]
    [2.231]
    include /etc/nginx/mime.types;