From 10cb16c2b8945c02b5e7e2221bc6335d48996369 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 15 May 2019 11:15:27 +0200 Subject: add php to httpd benchmark restructure httpd and php-fpm setup OBJDIR/etc holds configs OBJDIR/run holds pid files OBJDIR/log holds all log files don't daemonize nginx --- src/benchmarks/httpd/nginx/nginx.conf | 72 ----------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 src/benchmarks/httpd/nginx/nginx.conf (limited to 'src/benchmarks/httpd/nginx') diff --git a/src/benchmarks/httpd/nginx/nginx.conf b/src/benchmarks/httpd/nginx/nginx.conf deleted file mode 100644 index cf4b4d0..0000000 --- a/src/benchmarks/httpd/nginx/nginx.conf +++ /dev/null @@ -1,72 +0,0 @@ -#user html; -worker_processes 1; - - -error_log OBJDIR/nginx/logs/error.log; -error_log OBJDIR/nginx/logs/error.log notice; -error_log OBJDIR/nginx/logs/error.log info; - -pid OBJDIR/nginx/nginx.pid; - - -events { - worker_connections 1024; -} - - -http { - log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; - - access_log OBJDIR/nginx/logs/access.log main; - - sendfile on; - #tcp_nopush on; - - #keepalive_timeout 0; - keepalive_timeout 65; - - #gzip on; - - server { - listen 8080; - server_name localhost; - - location / { - root OBJDIR/html; - index index.html index.htm; - } - - #error_page 404 /404.html; - - # redirect server error pages to the static page /50x.html - # - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/share/nginx/html; - } - } - - # HTTPS server - # - #server { - # listen 443 ssl; - # server_name localhost; - - # ssl_certificate cert.pem; - # ssl_certificate_key cert.key; - - # ssl_session_cache shared:SSL:1m; - # ssl_session_timeout 5m; - - # ssl_ciphers HIGH:!aNULL:!MD5; - # ssl_prefer_server_ciphers on; - - # location / { - # root html; - # index index.html index.htm; - # } - #} - -} -- cgit v1.2.3