Skip to content

Instantly share code, notes, and snippets.

@aminelch
Created September 21, 2021 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aminelch/6ba961e4a77ee93a0235f2fd18a507b0 to your computer and use it in GitHub Desktop.
Save aminelch/6ba961e4a77ee93a0235f2fd18a507b0 to your computer and use it in GitHub Desktop.
user nginx;
worker_processes 4;
daemon off;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log;
# Switch logging to console out to view via Docker
#access_log /dev/stdout;
#error_log /dev/stderr;
sendfile on;
keepalive_timeout 65;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-available/*.conf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment