summaryrefslogtreecommitdiff
path: root/roles/install_nginx/files/nginx.conf
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-18 18:38:46 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-18 18:38:46 +0100
commitcd31d75443119be6580e91d5a9a3ab7742f875ab (patch)
tree0d12fe52bbb796969336dae613e66ca5f433aba4 /roles/install_nginx/files/nginx.conf
parent710a210ae6f165c2e3ce165d30d27f189311656b (diff)
updated setup_fastd.yml
added features: - fastd-services-api - install_nginx - install_monitoring
Diffstat (limited to 'roles/install_nginx/files/nginx.conf')
-rw-r--r--roles/install_nginx/files/nginx.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/roles/install_nginx/files/nginx.conf b/roles/install_nginx/files/nginx.conf
new file mode 100644
index 0000000..c27e4c1
--- /dev/null
+++ b/roles/install_nginx/files/nginx.conf
@@ -0,0 +1,29 @@
+worker_processes 1;
+
+events {
+ worker_connections 1024;
+}
+
+
+http {
+ include mime.types;
+ default_type application/octet-stream;
+
+ sendfile on;
+ tcp_nopush on;
+ tcp_nodelay on;
+ keepalive_timeout 65;
+
+ access_log off;
+ error_log /var/log/nginx/error.log;
+
+ #gzip on;
+ gzip off;
+ gzip_disable "msie6";
+
+ charset UTF-8;
+
+ # Virtual Host Config
+ include /etc/nginx/conf.d/*.conf;
+ include /etc/nginx/sites-enabled/*;
+}