charm-keystone/templates/ocata/nginx.conf
David Ames 8da85834c2 Snap install OpenStack in Charms
Install OpenStack using snaps. By setting openstack-origin to
snap:track/channel or snap:track the charm will use snaps to
install rather than debs. If channel is left off it defaults to
stable. For example: snap:ocata/edge will install the edge version of
Ocata and snap:pike will install the stable version of Pike.

Charm helpers sync for snap related helpers.

Change-Id: I6e3540e4ffe081540404f91061e5c9b7039b3eac
2017-09-28 17:34:11 +00:00

40 lines
850 B
Nginx Configuration File

user root root;
worker_processes {{ workers }};
pid /var/snap/keystone/common/run/nginx.pid;
events {
worker_connections 768;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
include /snap/keystone/current/usr/conf/mime.types;
default_type application/octet-stream;
##
# Logging Settings
##
access_log /var/snap/keystone/common/log/nginx-access.log;
error_log /var/snap/keystone/common/log/nginx-error.log;
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
include /var/snap/keystone/common/etc/nginx/conf.d/*.conf;
include /var/snap/keystone/common/etc/nginx/sites-enabled/*;
}