Skip to content

Instantly share code, notes, and snippets.

@amiryal
Last active August 29, 2015 14:23
Show Gist options
  • Save amiryal/2828aadd05ca6ea28568 to your computer and use it in GitHub Desktop.
Save amiryal/2828aadd05ca6ea28568 to your computer and use it in GitHub Desktop.
Minimal nginx http configuration
# Nginx will still complain about opening /var/log/nginx/error.log before
# switching to stderr. When shutting down, it will also complain about not
# being able to delete /dev/null.
daemon off;
error_log stderr info;
pid /dev/null;
events {
}
http {
access_log /dev/stdout;
server {
listen 8088;
location / {
return 200;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment