Commit b8d1010b authored by daidekun's avatar daidekun

common

parent b1766186
......@@ -41,7 +41,7 @@ ARG RESTY_J="1"
ENV PATH=$PATH:/usr/local/openresty/luajit/bin/:/usr/local/openresty/nginx/sbin/:/usr/local/openresty/bin/
# Copy nginx configuration files
COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
# COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
# COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80 443 3000 9001
......
user nginx;
worker_processes 1;
error_log /usr/local/openresty/nginx/logs/error.log warn;
access_log /var/log/nginx/access.log main;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /usr/local/openresty/nginx/conf/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
server_names_hash_bucket_size 64;
sendfile on;
keepalive_timeout 65;
include /usr/local/openresty/nginx/conf/conf.d/*.conf;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment