Created
November 1, 2015 22:24
-
-
Save wkoszek/f72b8eb36e02d07adc81 to your computer and use it in GitHub Desktop.
Minimal nginx config for Travis (or other) CI system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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