logrotate script and cache dir

This commit is contained in:
Micha Glave
2009-11-04 12:11:50 +01:00
parent 226ee6b2b3
commit bde0eb835a
8 changed files with 20 additions and 268 deletions

View File

@@ -4,7 +4,7 @@ worker_processes 1;
error_log /var/log/nginx/error_log info;
events {
worker_connections 8192;
worker_connections 1024;
use epoll;
}
@@ -45,28 +45,5 @@ http {
index index.html;
server {
listen 127.0.0.1;
server_name localhost;
access_log /var/log/nginx/localhost.access_log main;
error_log /var/log/nginx/localhost.error_log info;
root /var/www/localhost/htdocs;
}
##ssl portion
# server {
# listen 127.0.0.1:443;
# server_name localhost;
#
# ssl on;
# ssl_certificate /etc/ssl/nginx/nginx.pem;
# ssl_certificate_key /etc/ssl/nginx/nginx.key;
#
# access_log /var/log/nginx/localhost.ssl_access_log main;
# error_log /var/log/nginx/localhost.ssl_error_log info;
#
# root /var/www/localhost/htdocs;
# }
include /etc/nginx/vhosts.d/*.conf;
}