Skip to content

Instantly share code, notes, and snippets.

@wkoszek
Created November 1, 2015 22:24
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 wkoszek/f72b8eb36e02d07adc81 to your computer and use it in GitHub Desktop.
Save wkoszek/f72b8eb36e02d07adc81 to your computer and use it in GitHub Desktop.
Minimal nginx config for Travis (or other) CI system
worker_processes 10;
pid /tmp/nginx.pid;
error_log /tmp/error.log;
events {
worker_connections 768;
}
http {
client_body_temp_path /tmp/nginx_client_body;
fastcgi_temp_path /tmp/nginx_fastcgi_temp;
proxy_temp_path /tmp/nginx_proxy_temp;
scgi_temp_path /tmp/nginx_scgi_temp;
uwsgi_temp_path /tmp/nginx_uwsgi_temp;
server {
listen 8888 default_server;
root /tmp/www;
index index.html index.htm;
server_name localhost;
location / {
try_files $uri $uri/ =404;
autoindex on;
}
error_log /tmp/error.log;
access_log /tmp/access.log;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment