From 13ea676f531f302016ec78ff394f0044257214b5 Mon Sep 17 00:00:00 2001 From: Clifton Palmer Date: Sun, 16 Jun 2019 06:52:11 -0500 Subject: [PATCH] Made container only accessible by reverse proxy --- docker-compose.yml | 2 -- httpd.conf | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 00655ca..196fb5d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,5 +13,3 @@ services: - PUBLIC_ROOT_DIR=/storage/Art/art by me - PUBLIC_LINK_DIR=/usr/local/apache2/htdocs - PUBLIC_HTTP_URI=http://${IPV4_WAN} - ports: - - 80:80 diff --git a/httpd.conf b/httpd.conf index 0e2f67c..d7ce626 100644 --- a/httpd.conf +++ b/httpd.conf @@ -229,7 +229,7 @@ Group daemon # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. admin@your-domain.com # -ServerAdmin you@example.com +ServerAdmin purplebirdman@mail.purplebirdman.online # # ServerName gives the name and port that the server uses to identify itself. @@ -238,7 +238,7 @@ ServerAdmin you@example.com # # If your host doesn't have a registered DNS name, enter its IP address here. # -#ServerName www.example.com:80 +ServerName public.purplebirdman.online:80 # # Deny access to the entirety of your server's filesystem. You must -- 2.47.2