This is the default example configuration of nginx provided by nginx. This config file was generated by nginx running on Ubuntu 12.04.
It is located under: /etc/default/nginx
# Note: You may want to look at the following page before setting the ULIMIT. # http://wiki.nginx.org/CoreModule#worker_rlimit_nofile # Set the ulimit variable if you need defaults to change. # Example: ULIMIT="-n 4096" #ULIMIT="-n 4096"
Download the raw file with wget or curl
wget -O nginx.example http://exampleconfig.com/static/raw/nginx/ubuntu12.04/etc/default/nginx
curl http://exampleconfig.com/static/raw/nginx/ubuntu12.04/etc/default/nginx > nginx.example
Other config files you might find useful