Skip to content

Commit 89bf7e2

Browse files
committed
add nginx support
1 parent 1a66fc1 commit 89bf7e2

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

docker/nginx/etc/nginx.conf

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
user root;
2+
worker_processes auto;
3+
pid /run/nginx.pid;
4+
5+
events {
6+
worker_connections 768;
7+
# multi_accept on;
8+
}
9+
10+
http {
11+
12+
##
13+
# Basic Settings
14+
##
15+
16+
sendfile on;
17+
tcp_nopush on;
18+
tcp_nodelay on;
19+
keepalive_timeout 65;
20+
types_hash_max_size 2048;
21+
22+
include /etc/nginx/mime.types;
23+
default_type application/octet-stream;
24+
25+
##
26+
# SSL Settings
27+
##
28+
29+
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
30+
ssl_prefer_server_ciphers on;
31+
32+
##
33+
# Logging Settings
34+
##
35+
36+
access_log /var/log/nginx/access.log;
37+
error_log /var/log/nginx/error.log;
38+
39+
##
40+
# Gzip Settings
41+
##
42+
43+
gzip on;
44+
gzip_disable "msie6";
45+
46+
47+
48+
##
49+
# Virtual Host Configs
50+
##
51+
52+
include ./conf.d/*.conf;
53+
}

docker/nginx/nginx.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NGINX_PORT=80

0 commit comments

Comments
 (0)