From cd62d0f551e589f0684053c83c651f8a1ebd5477 Mon Sep 17 00:00:00 2001 From: sysadmin-frontend-binary <65759777+sysadmin-frontend-binary@users.noreply.github.com> Date: Tue, 2 Jun 2020 13:12:09 +0800 Subject: [PATCH] Revert "Create default.conf" --- .dockerignore | 2 -- .../usr/share/nginx/default.conf" | 22 ------------------- 2 files changed, 24 deletions(-) delete mode 100644 .dockerignore delete mode 100644 "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/default.conf" diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 331d38729f..0000000000 --- a/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -.git -Dockerfile diff --git "a/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/default.conf" "b/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/default.conf" deleted file mode 100644 index 758978854f..0000000000 --- "a/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/default.conf" +++ /dev/null @@ -1,22 +0,0 @@ -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; - } -}