fix nginx.conf

This commit is contained in:
2026-06-15 15:13:54 -05:00
parent 362aa633ed
commit a37cf14e89
2 changed files with 18 additions and 0 deletions

View File

@@ -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/

17
nginx/nginx.conf Normal file
View File

@@ -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;
}