Skip to content

Instantly share code, notes, and snippets.

@rubendob
rubendob / httpd.conf
Last active December 10, 2015 20:59
Httpd.conf sin los módulos innecesarios
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 60
<IfModule prefork.c>
StartServers 16
MinSpareServers 10
@rubendob
rubendob / my.cnf
Created September 30, 2012 18:24
MySQL 5.5 conf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Global Settings
thread_cache_size=4
@rubendob
rubendob / nginx.onf
Created September 30, 2012 18:22
Nginx
user nginx;
worker_processes 2;
worker_rlimit_nofile 32768;
error_log /var/log/nginx/error.log;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;
pid /var/run/nginx.pid;
events {
worker_connections 4096;
multi_accept on;