37 lines
749 B
Nginx Configuration File
37 lines
749 B
Nginx Configuration File
|
|
||
|
user www-data;
|
||
|
worker_processes 2;
|
||
|
|
||
|
error_log /var/log/nginx/error.log warn;
|
||
|
pid /var/run/nginx.pid;
|
||
|
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
|
||
|
|
||
|
http {
|
||
|
include /etc/nginx/mime.types;
|
||
|
default_type application/octet-stream;
|
||
|
|
||
|
upstream ro01 {
|
||
|
server [2001:470:6c:655::2] weight=10;
|
||
|
server local.krautspace.de weight=1;
|
||
|
}
|
||
|
proxy_cache_path /var/lib/nginx/cache keys_zone=statusATro01:10m;
|
||
|
|
||
|
sendfile on;
|
||
|
#tcp_nopush on;
|
||
|
|
||
|
keepalive_timeout 65;
|
||
|
server_tokens off;
|
||
|
|
||
|
# etag ist Ausgeschalten wegen erweiterter möglicher Tracking von Usern
|
||
|
etag off;
|
||
|
|
||
|
# Hier lohnt sich auch ein Blick hinnein
|
||
|
include /etc/nginx/conf.d/*.conf;
|
||
|
include /etc/nginx/sites-enabled/*;
|
||
|
}
|