File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 55
55
pcre-dev \
56
56
openssl-dev \
57
57
zlib-dev \
58
+ geoip-dev \
58
59
&& \
59
60
# Download.
60
61
echo "Downloading OpenResty..." && \
@@ -106,10 +107,12 @@ RUN \
106
107
--with-http_degradation_module \
107
108
--with-http_slice_module \
108
109
--with-http_stub_status_module \
110
+ --with-http_geoip_module \
109
111
--with-stream \
110
112
--with-stream_ssl_module \
111
113
--with-stream_realip_module \
112
114
--with-stream_ssl_preread_module \
115
+ --with-stream_geoip_module \
113
116
--with-pcre-jit \
114
117
&& \
115
118
make -j$(nproc) && \
@@ -152,6 +155,7 @@ RUN \
152
155
bash \
153
156
# For openresty
154
157
pcre \
158
+ geoip \
155
159
&& \
156
160
# Adjust the logrotate config file.
157
161
sed-patch 's|^/var/log/messages|#/var/log/messages|' /etc/logrotate.conf
You can’t perform that action at this time.
0 commit comments