File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1+ # this allows you to call directives such as "env" in your own conf files
2+ # http://nginx.org/en/docs/ngx_core_module.html#env
3+ #
4+ # and load dynamic modules via load_module
5+ # http://nginx.org/en/docs/ngx_core_module.html#load_module
6+ include /etc/nginx/main.d/*.conf;
7+
8+
19user nginx;
210worker_processes 1;
311
412error_log /var/log/nginx/error.log warn;
513pid /var/run/nginx.pid ;
614
7-
815events {
916 worker_connections 1024 ;
1017}
3441 include /etc/nginx/conf.d/*.conf;
3542}
3643
37- # this allows you to call directives such as "env" in your own conf files
38- # http://nginx.org/en/docs/ngx_core_module.html#env
39- include /etc/nginx/main.d/*.conf;
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ docker run --rm \
44 -p 0.0.0.0:8889:443/tcp \
55 -p 0.0.0.0:8889:443/udp \
66 -v " $PWD /tests" :/static:ro \
7+ -v " $PWD /tests/modules.conf" :/etc/nginx/main.d/modules.conf:ro \
78 -v " $PWD /tests/static.conf" :/etc/nginx/conf.d/static.conf:ro \
89 -v " $PWD /tests/https.conf" :/etc/nginx/conf.d/https.conf:ro \
910 -v " $PWD /tests/localhost.crt" :/etc/nginx/ssl/localhost.crt:ro \
Original file line number Diff line number Diff line change 1+ load_module modules/ngx_http_geoip_module.so;
2+ load_module modules/ngx_http_perl_module.so;
You can’t perform that action at this time.
0 commit comments