bifrost/step1/templates/nginx.conf.j2
Julia Kreger e53131c071 File Downloads for CoreOS and Ubuntu and misc fixes
Added file download support along with an automatic skip if the file
is already present, and semi-configurable httpboot folder path.

Corrected minor typo in env-setup.sh.
2015-02-25 18:33:11 -05:00

50 lines
657 B
Django/Jinja

user www-data;
worker_processes 2;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Gzip Settings
##
gzip on;
}
server {
listen 8000;
server_name {{ ansible_hostname }};
root {{ http_boot_folder }};
}