forked from SachinKSingh28/adop-base-proxy
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from anton-kasperovich/image_improvements
Official Alpine and adjust NGINX settings
- Loading branch information
Showing
2 changed files
with
31 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
user proxy; | ||
worker_processes 1; | ||
|
||
error_log /dev/stderr; | ||
|
||
#pid /usr/local/nginx/run/nginx.pid; | ||
|
||
|
||
worker_processes 4; | ||
|
||
error_log /dev/stderr warn; | ||
|
||
events { | ||
worker_connections 1024; | ||
worker_connections 1024; | ||
} | ||
|
||
|
||
|
||
http { | ||
access_log /dev/stdout; | ||
|
||
|
||
sendfile on; | ||
tcp_nopush on; | ||
tcp_nodelay on; | ||
keepalive_timeout 65; | ||
types_hash_max_size 2048; | ||
server_tokens off; | ||
server_name_in_redirect off; | ||
|
||
include mime.types; | ||
default_type application/octet-stream; | ||
|
||
sendfile on; | ||
|
||
keepalive_timeout 65; | ||
|
||
|
||
access_log off; | ||
|
||
include /usr/local/nginx/sites-enabled/*; | ||
|
||
client_max_body_size 1024m; | ||
fastcgi_buffers 16 16k; | ||
fastcgi_buffer_size 16k; | ||
fastcgi_buffer_size 16k; | ||
} |