mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-17 10:34:06 +01:00
fix: mime.types
This commit is contained in:
@@ -12,7 +12,7 @@ FROM nginx:alpine
|
|||||||
|
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
RUN echo 'application/javascript mjs;' >> /etc/nginx/mime.types
|
RUN sed -i 's/application\/javascript.*js;/application\/javascript js mjs;/' /etc/nginx/mime.types
|
||||||
|
|
||||||
RUN sed -i 's|index index.html index.htm;|index index.html index.htm;\n try_files $uri $uri/ /index.html;|' /etc/nginx/conf.d/default.conf
|
RUN sed -i 's|index index.html index.htm;|index index.html index.htm;\n try_files $uri $uri/ /index.html;|' /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user