autowp/autowp-frontend

View on GitHub
etc/nginx/nginx.conf

Summary

Maintainability
Test Coverage
worker_processes auto;
 
error_log /dev/stderr warn;
pid /tmp/nginx.pid;
 
events {
worker_connections 1024;
}
 
http {
proxy_temp_path /tmp/proxy_temp;
client_body_temp_path /tmp/client_temp;
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;
 
include /etc/nginx/mime.types;
default_type application/octet-stream;
 
access_log /dev/stdout;
error_log /dev/stderr info;
 
sendfile on;
#tcp_nopush on;
 
keepalive_timeout 65;
 
server_tokens off;
charset utf-8;
index index.html;
 
gzip on;
gzip_types
text/plain
text/css
text/js
text/xml
text/javascript
application/javascript
application/json
application/xml
application/rss+xml
image/svg+xml;
 
include /etc/nginx/conf.d/*.conf;
 
map $http_host $lang {
hostnames;
default en-GB;
include hostmap;
}
}