diff --git a/proxy/Dockerfile b/proxy/Dockerfile
index cb39c62..60aad83 100644
--- a/proxy/Dockerfile
+++ b/proxy/Dockerfile
@@ -3,9 +3,6 @@ FROM nginx:1.18
# default conf for proxy service
COPY ./default.conf /etc/nginx/conf.d/default.conf
-# NOT FOUND response
-COPY ./backend-not-found.html /var/www/html/backend-not-found.html
-
# Proxy and SSL configurations
COPY ./includes/ /etc/nginx/includes/
diff --git a/proxy/backend-not-found.html b/proxy/backend-not-found.html
deleted file mode 100644
index bebb95c..0000000
--- a/proxy/backend-not-found.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
Proxy Backend Not Found
-
-Proxy Backend Not Found
-
-
diff --git a/proxy/default.conf b/proxy/default.conf
index 82e0a3b..8a0f3f8 100644
--- a/proxy/default.conf
+++ b/proxy/default.conf
@@ -1,10 +1,11 @@
+# plain http redirect to https
server {
listen 80;
listen [::]:80;
server_name localhost;
return 301 https://$server_name$request_uri;
}
-# web service1 config.
+# main server, reverse proxy to 'web' container
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
@@ -23,25 +24,3 @@ server {
access_log off;
error_log /var/log/nginx/error.log error;
}
-
-# Default
-server {
- listen 80 default_server;
-
- server_name _;
- root /var/www/html;
-
- charset UTF-8;
-
- error_page 404 /backend-not-found.html;
- location = /backend-not-found.html {
- allow all;
- }
- location / {
- return 404;
- }
-
- access_log off;
- log_not_found off;
- error_log /var/log/nginx/error.log error;
-}