This repository was archived by the owner on May 8, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +14
-4
lines changed Expand file tree Collapse file tree 5 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM library/nginx:alpine
1
+ FROM docker.ttio.cloud:5000/ library/nginx
2
2
3
3
COPY ./nginx/conf.d/* /etc/nginx/conf.d/
4
4
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf
Original file line number Diff line number Diff line change @@ -30,9 +30,12 @@ http {
30
30
gzip_static on ;
31
31
gzip_comp_level 9 ;
32
32
gzip_min_length 500 ;
33
- gzip_types text/plain text/xml text/css application/javascript image/svg+xml image/png;
33
+ gzip_types text/plain text/xml text/css application/javascript image/svg+xml image/png application/json ;
34
34
gzip_vary on ;
35
35
gzip_http_version 1.1 ;
36
36
37
+ brotli on;
38
+ brotli_types text/plain text/xml text/css application/javascript image/svg+xml image/png application/json;
39
+
37
40
include /etc/nginx/conf.d/*.conf;
38
41
}
Original file line number Diff line number Diff line change 1
- FROM library/nginx:alpine
1
+ FROM docker.ttio.cloud:5000/ library/nginx
2
2
3
3
ARG VERSION
4
4
Original file line number Diff line number Diff line change 1
1
user nginx;
2
- worker_processes 1 ;
2
+ worker_processes auto ;
3
3
4
4
error_log /dev/stderr warn ;
5
5
pid /var/run/nginx.pid;
31
31
gzip_vary on ;
32
32
gzip_http_version 1.1 ;
33
33
34
+ brotli on;
35
+ brotli_types text/plain text/xml text/css application/javascript image/svg+xml image/png application/json;
36
+
34
37
server_tokens off ;
35
38
36
39
include /etc/nginx/conf.d/*.conf;
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ if [ -z "$(echo ${IMAGES} | grep "docker.ttio.cloud:5000/library/fpm")" ]; then
23
23
docker pull docker.ttio.cloud:5000/library/fpm
24
24
fi
25
25
26
+ if [ -z " $( echo ${IMAGES} | grep " docker.ttio.cloud:5000/library/nginx" ) " ]; then
27
+ docker pull docker.ttio.cloud:5000/library/nginx
28
+ fi
29
+
26
30
fold_end " Dependencies"
27
31
28
32
fold_start " Worker"
You can’t perform that action at this time.
0 commit comments