Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit b72dbcc

Browse files
author
sysadmin-frontend-binary
authored
Merge pull request #1360 from Mahboobeh-binary/patch-14
Add CI missing config
2 parents 036f8c4 + e874b7f commit b72dbcc

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.git
2+
Dockerfile

default.conf

Lines changed: 22 additions & 0 deletions
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)