Skip to content

Commit 989963b

Browse files
committedNov 18, 2014
add default.conf for nginx
1 parent bca73bb commit 989963b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎nginx/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM maxexcloo/nginx:latest
22
MAINTAINER Qi Zhang <todayhill@gmail.com>
33
ADD nginx.conf /etc/nginx/
4+
ADD default.conf /etc/nginx/host.d/
45
ADD supervisord.conf /etc/supervisor/conf.d/nginx.conf
56
EXPOSE 80

‎nginx/default.conf

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
server {
2+
listen 80;
3+
listen [::]:80 default_server ipv6only=on;
4+
root /data/http;
5+
include /etc/nginx/addon.d/default-*.conf;
6+
include /etc/nginx/conf.d/*.conf;
7+
include /data/config/nginx-*.conf;
8+
}

0 commit comments

Comments
 (0)
Please sign in to comment.