12345678910111213141516171819202122232425262728293031323334353637383940 |
- # Replaced by setup.py
- user USR;
- error_log stderr error;
- worker_processes 2;
- events {
- worker_connections 1024;
- }
- http {
- output_buffers 1 32k;
- postpone_output 1460;
- access_log off;
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- upstream backendurl {
- server unix:/home/tfb/FrameworkBenchmarks/web-simple/frameworks-benchmark.sock;
- }
- server {
- listen 8080;
- server_name localhost;
- location / {
- try_files $uri @proxy;
- expires max;
- }
- location @proxy {
- proxy_set_header Host $http_host;
- proxy_pass http://backendurl;
- }
- }
- }
|