diff --git a/data/html/index.html b/data/html/index.html index 2abc252..cbbb755 100644 --- a/data/html/index.html +++ b/data/html/index.html @@ -10,7 +10,6 @@ font-family: Tahoma, Verdana, Arial, sans-serif; }

Nginx in a Docker container!

-

.

For online documentation please refer to my website: WIP.
diff --git a/data/sites/default.conf b/data/sites/default.conf index a3f15b3..4079239 100644 --- a/data/sites/default.conf +++ b/data/sites/default.conf @@ -1,6 +1,5 @@ server { -# OWOWOWOWOWOW - listen 80 http2; + listen 80; root /var/www/html; index index.html; diff --git a/docker-compose.yml b/docker-compose.yml index a5228a8..525f5e2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3.8" - services: nginx: restart: always @@ -8,6 +6,6 @@ services: - "80:80" # Change this if you want to use SSL or anything else. volumes: - "./data/conf/nginx.conf:/etc/nginx/nginx.conf" # The nginx config. - - "./data/sites/:/etc/nginx/conf.d/" # This has the configuration for configuring sites and enabling them. + - "./data/sites/default.conf:/etc/nginx/conf.d/default.conf" # This has the configuration for configuring sites and enabling them. - "./data/html/:/var/www/html/" # Where the website source code resides. - "./data/certs/:/etc/certs/" # Put your SSL certificates in here!