diff options
| -rw-r--r-- | conf/iptables.rules | 38 | ||||
| -rw-r--r-- | conf/nginx.conf | 6 |
2 files changed, 22 insertions, 22 deletions
diff --git a/conf/iptables.rules b/conf/iptables.rules index af4337e..23f294f 100644 --- a/conf/iptables.rules +++ b/conf/iptables.rules @@ -1,32 +1,32 @@ -# Generated by iptables-save v1.3.8 on Tue May 18 01:07:47 2010 +# Generated by iptables-save v1.3.8 on Wed Jul 7 12:01:48 2010 *raw -:PREROUTING ACCEPT [244582158:66961882286] -:OUTPUT ACCEPT [203811901:346352124993] +:PREROUTING ACCEPT [13569331:2713811039] +:OUTPUT ACCEPT [9042220:29855490319] COMMIT -# Completed on Tue May 18 01:07:47 2010 -# Generated by iptables-save v1.3.8 on Tue May 18 01:07:47 2010 +# Completed on Wed Jul 7 12:01:48 2010 +# Generated by iptables-save v1.3.8 on Wed Jul 7 12:01:48 2010 *nat -:PREROUTING ACCEPT [39048:2606984] -:POSTROUTING ACCEPT [1021206:65956360] -:OUTPUT ACCEPT [1021206:65956360] +:PREROUTING ACCEPT [1172:67894] +:POSTROUTING ACCEPT [17766:1659678] +:OUTPUT ACCEPT [17766:1659678] COMMIT -# Completed on Tue May 18 01:07:47 2010 -# Generated by iptables-save v1.3.8 on Tue May 18 01:07:47 2010 +# Completed on Wed Jul 7 12:01:48 2010 +# Generated by iptables-save v1.3.8 on Wed Jul 7 12:01:48 2010 *mangle -:PREROUTING ACCEPT [244582158:66961882286] -:INPUT ACCEPT [244582077:66961875069] +:PREROUTING ACCEPT [13569331:2713811039] +:INPUT ACCEPT [13569257:2713805598] :FORWARD ACCEPT [0:0] -:OUTPUT ACCEPT [203811901:346352124993] -:POSTROUTING ACCEPT [203811901:346352124993] +:OUTPUT ACCEPT [9042220:29855490319] +:POSTROUTING ACCEPT [9042220:29855490319] COMMIT -# Completed on Tue May 18 01:07:47 2010 -# Generated by iptables-save v1.3.8 on Tue May 18 01:07:47 2010 +# Completed on Wed Jul 7 12:01:48 2010 +# Generated by iptables-save v1.3.8 on Wed Jul 7 12:01:48 2010 *filter -:INPUT ACCEPT [244579120:66961608666] +:INPUT ACCEPT [13569257:2713805598] :FORWARD ACCEPT [0:0] -:OUTPUT ACCEPT [203811901:346352124993] +:OUTPUT ACCEPT [9042220:29855490319] :fail2ban-ssh - [0:0] -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh -A fail2ban-ssh -j RETURN COMMIT -# Completed on Tue May 18 01:07:47 2010 +# Completed on Wed Jul 7 12:01:48 2010 diff --git a/conf/nginx.conf b/conf/nginx.conf index 4d54b39..3e6cbe5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ user dumpfmprod; worker_processes 5; -error_log /home/dumpfmprod/prod/log/nginx/error.log; +error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; events { @@ -11,9 +11,9 @@ events { http { include /etc/nginx/mime.types; log_format hyphen '$remote_addr | $time_local | ' - '"$request" | $pipe | $status | $request_time | $content_length | $bytes_sent | $body_bytes_sent | ' + '"$request" | $pipe | $status | $request_time | $bytes_sent | $body_bytes_sent | ' '"$http_referer" | "$http_user_agent"'; - access_log /home/dumpfmprod/prod/log/nginx/access.log hyphen; + access_log /var/log/nginx/access.log hyphen; sendfile on; #tcp_nopush on; |
