Closed namniav closed 1 year ago
When using the example from https://github.com/CzBiX/qb-web/wiki/Running-multi-WebUI-at-the-same-time#nginx, the Web UI is broken because all script files are served with header Content-Type: text/plain. Add include mime.types; to let nginx auto-detects mime-types.
Content-Type: text/plain
include mime.types;
location / { include mime.types; root /var/www/qb-web/public/; }
When using the example from https://github.com/CzBiX/qb-web/wiki/Running-multi-WebUI-at-the-same-time#nginx, the Web UI is broken because all script files are served with header
Content-Type: text/plain
. Addinclude mime.types;
to let nginx auto-detects mime-types.