Skip to content

Commit

Permalink
fix: don't override existing modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Clemens committed Jul 14, 2018
1 parent f020694 commit 37a082c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ services:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf:ro"
- "./nginx/sites:/etc/nginx/sites:ro"
- "./nginx/certs:/etc/nginx/certs:ro"
- "./nginx/modules:/etc/nginx/modules:ro"
- "./nginx/extra_modules:/etc/nginx/extra_modules:ro"
- "../webserver/web/static:/etc/nginx/web/static:ro"
Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions .docker/nginx/modules/ngx_http_brotli_filter_module.so

This file was deleted.

3 changes: 0 additions & 3 deletions .docker/nginx/modules/ngx_http_brotli_static_module.so

This file was deleted.

7 changes: 3 additions & 4 deletions .docker/nginx/nginx.example.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# NOTE: change this based on your machine (equal to # CPU cores)
worker_processes 2;

load_module modules/ngx_http_brotli_static_module.so;
load_module modules/ngx_http_brotli_filter_module.so;
load_module extra_modules/ngx_http_brotli_static_module.so;
load_module extra_modules/ngx_http_brotli_filter_module.so;

events {
# NOTE: change this based on your machine (ulimit -n)
Expand Down Expand Up @@ -31,8 +31,7 @@ http {
brotli_comp_level 4;
brotli_types text/plain text/css application/javascript application/json image/svg+xml application/xml+rss;

# TODO: TLS security
# ssl_dhparam /etc/ssl/dhparam.pem;
ssl_dhparam /etc/ssl/dhparam.pem;

ssl_protocols TLSv1.3 TLSv1.2;
ssl_ciphers 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA';
Expand Down

0 comments on commit 37a082c

Please sign in to comment.