~dricottone/container-images#3: 
nginx standardization

Standardize all of my nginx configurations, including making all implicit settings explicit

Status
REPORTED
Submitter
~dricottone
Assigned to
No-one
Submitted
1 year, 5 months ago
Updated
1 year, 5 months ago
Labels
No labels applied.

~dricottone 1 year, 5 months ago

gzip-related settings.

Currently only set gzip_vary in nginx.conf. Fill out the documentation here and update that file accordingly.

~dricottone 1 year, 5 months ago

Encryption settings.

Create a dhparam.pem file and use it. See here for some tips, but that section may need updating.

~dricottone 1 year, 5 months ago*

sendfile-related settings.

See here to get started, and create documentation for it too.

~dricottone 1 year, 5 months ago

Document pcre_jit on.

~dricottone 1 year, 5 months ago

Document log-related settings.

~dricottone 1 year, 5 months ago

Document worker_processes auto and events.worker_connections 1024

~dricottone 1 year, 5 months ago

Document client_max_body_size with notes about when it should be raised.

Also document that with container images that will be used with larger files, e.g. php:readwrite.

~dricottone 1 year, 5 months ago

Document server_tokens off.

~dricottone 1 year, 5 months ago

Document include /etc/nginx/mime.types and default_type application/octet-stream.

Consider vendoring /etc/nginx/mime.types.

~dricottone 1 year, 5 months ago

Review {uwsgi,fastcgi,graphql,proxy}.conf for any other settings that should be added.

Register here or Log in to comment, or comment via email.