Add mime-type for WASM

This fixes #222.
This commit is contained in:
Alexander Hofbauer 2020-02-05 23:06:05 +01:00
parent 8e1a52566f
commit 012ef47306
No known key found for this signature in database
GPG key ID: 6ACF215317893A41
2 changed files with 4 additions and 0 deletions

View file

@ -54,6 +54,7 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
service nginx stop && \
rm -rf /var/lib/apt/lists/*
COPY mime-types.conf /etc/nginx/conf.d/mime-types.conf
COPY config /app/ds/setup/config/
COPY run-document-server.sh /app/ds/run-document-server.sh

3
mime-types.conf Normal file
View file

@ -0,0 +1,3 @@
types {
application/wasm wasm;
}