Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit a198bee

Browse files
committed
add more files
1 parent 860467b commit a198bee

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.git
2+
Dockerfile

default.conf

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
server {
2+
listen 80;
3+
server_name localhost;
4+
5+
add_header Cache-Control "public, max-age=7200, s-maxage=600, must-revalidate";
6+
charset UTF-8;
7+
8+
error_page 404 /404.html;
9+
10+
location @custom_error_503 {
11+
return 503;
12+
}
13+
14+
location ~ /\.git {
15+
return 404;
16+
}
17+
18+
location / {
19+
root /usr/share/nginx/html;
20+
index index.html index.htm;
21+
}
22+
}

0 commit comments

Comments
 (0)