Page MenuHomeDevCentral

No OneTemporary

diff --git a/files/etc/nginx/nginx.conf b/files/etc/nginx/nginx.conf
new file mode 100644
index 0000000..f0d3010
--- /dev/null
+++ b/files/etc/nginx/nginx.conf
@@ -0,0 +1,41 @@
+# Webserver runs as www-data user
+# PHP code runs as app user
+# This allows to configure a read-only, can execute web directory.
+
+user www-data;
+worker_processes 4;
+pid /run/nginx.pid;
+daemon off;
+
+events {
+ worker_connections 768;
+}
+
+http {
+ sendfile on;
+ tcp_nopush on;
+ tcp_nodelay on;
+ keepalive_timeout 65;
+ types_hash_max_size 2048;
+
+ include /etc/nginx/mime.types;
+ default_type application/octet-stream;
+
+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
+ ssl_prefer_server_ciphers on;
+
+ access_log /var/log/nginx/access.log;
+ error_log /var/log/nginx/error.log;
+
+ gzip on;
+ gzip_disable "msie6";
+ gzip_vary on;
+ gzip_proxied any;
+ gzip_comp_level 6;
+ gzip_buffers 16 8k;
+ gzip_http_version 1.1;
+ gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
+
+ include /etc/nginx/conf.d/*.conf;
+ include /etc/nginx/sites-enabled/*;
+}

File Metadata

Mime Type
text/x-diff
Expires
Sun, Oct 12, 06:34 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3065286
Default Alt Text
(1 KB)

Event Timeline