Skip to content

Commit 9ab7bae

Browse files
committed
fixing nginx mimetype
1 parent 85087be commit 9ab7bae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/Dockerfile.nginx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ FROM nginx:alpine
44
COPY target/uki.efi /usr/share/nginx/html/feos.uki
55

66
# Add MIME type for .uki files
7-
RUN echo 'application/efi uki;' >> /etc/nginx/mime.types
7+
RUN echo 'types {\n application/efi uki;\n}' > /etc/nginx/mime.types
88

99
# Create a simple index page
1010
RUN echo '<html><body><h1>FeOS UKI Server</h1><p><a href="/feos.uki">Download FeOS UKI (x86_64)</a></p></body></html>' > /usr/share/nginx/html/index.html
1111

12-
EXPOSE 80
12+
EXPOSE 80

0 commit comments

Comments
 (0)