auto-save 2026-04-18 15:48 (~2)
This commit is contained in:
@@ -482,6 +482,13 @@
|
||||
"message": "worklog.json auto-save tail",
|
||||
"hash": "3e10890",
|
||||
"files_changed": 1
|
||||
},
|
||||
{
|
||||
"ts": "2026-04-18T15:42:03+08:00",
|
||||
"type": "commit",
|
||||
"message": "auto-save 2026-04-18 15:40 (~1)",
|
||||
"hash": "d46152c",
|
||||
"files_changed": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -2,7 +2,24 @@ FROM nginx:alpine
|
||||
|
||||
COPY . /usr/share/nginx/html/
|
||||
|
||||
RUN printf 'server {\n\
|
||||
RUN printf 'types {\n\
|
||||
text/html html htm;\n\
|
||||
text/css css;\n\
|
||||
text/plain txt;\n\
|
||||
text/markdown md;\n\
|
||||
application/javascript js;\n\
|
||||
application/json json;\n\
|
||||
image/jpeg jpg jpeg;\n\
|
||||
image/png png;\n\
|
||||
image/webp webp;\n\
|
||||
image/svg+xml svg;\n\
|
||||
image/x-icon ico;\n\
|
||||
font/woff woff;\n\
|
||||
font/woff2 woff2;\n\
|
||||
}\n\
|
||||
default_type application/octet-stream;\n\
|
||||
\n\
|
||||
server {\n\
|
||||
listen 80;\n\
|
||||
server_name _;\n\
|
||||
root /usr/share/nginx/html;\n\
|
||||
@@ -26,8 +43,10 @@ RUN printf 'server {\n\
|
||||
}\n\
|
||||
\n\
|
||||
gzip on;\n\
|
||||
gzip_types text/plain text/markdown text/css application/javascript application/json image/svg+xml;\n\
|
||||
gzip_min_length 1024;\n\
|
||||
gzip_comp_level 6;\n\
|
||||
gzip_types text/plain text/markdown text/css application/javascript application/json image/svg+xml text/html;\n\
|
||||
gzip_min_length 512;\n\
|
||||
gzip_vary on;\n\
|
||||
}\n' > /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user