diff --git a/nginx/Dockerfile b/nginx/Dockerfile index fc95796..7508bf5 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -1,3 +1,4 @@ FROM nginx:alpine COPY nginx/conf.d/wp-suite.conf /etc/nginx/conf.d/wp-suite.conf +COPY nginx/nginx.conf /etc/nginx/nginx.conf COPY html/ /usr/share/nginx/html/ diff --git a/nginx/nginx.conf b/nginx/nginx.conf new file mode 100644 index 0000000..37e9521 --- /dev/null +++ b/nginx/nginx.conf @@ -0,0 +1,17 @@ +user nginx; +worker_processes auto; + +error_log /var/log/nginx/error.log warn; +pid /var/run/nginx.pid; + +events { + worker_connections 1024; +} + +http { + include /etc/nginx/mime.types; + default_type application/octet-stream; + sendfile on; + keepalive_timeout 65; + include /etc/nginx/conf.d/*.conf; +} \ No newline at end of file