bifrost/playbooks/roles/bifrost-ironic-install/templates/nginx.conf.j2
Julia Kreger 6840c963a2 Rename install role to bifrost-ironic-install
Since the install role is specifically geared to install ironic
in a way that bifrost uses, we should name the role appropriately.

Note: This will be followed up with a change to revise the
README file for the role as changing and renaming the file
will result in issues with the file history.

Change-Id: I553a29206a045b5aa0e679ce05e984c7dd4b9df3
Depends-On: Ia6226a8573753ff02da19dcb3c2b5abfb9b3c297
2015-08-14 12:17:56 -04:00

51 lines
746 B
Django/Jinja

user {{ nginx_user }};
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 {{nginx_port}};
server_name {{ ansible_hostname }};
root {{ http_boot_folder }};
location {{ http_boot_folder }}/ {
alias {{ http_boot_folder }}/;
}
}
}