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

Commit

Permalink
Merge pull request #1358 from Mahboobeh-binary/patch-13
Browse files Browse the repository at this point in the history
Create default.conf
  • Loading branch information
sysadmin-frontend-binary authored Jun 2, 2020
2 parents b98aee3 + cdb486e commit a8237a2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
server {
listen 80;
server_name localhost;

add_header Cache-Control "public, max-age=7200, s-maxage=600, must-revalidate";
charset UTF-8;

error_page 404 /404.html;

location @custom_error_503 {
return 503;
}

location ~ /\.git {
return 404;
}

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
}

0 comments on commit a8237a2

Please sign in to comment.