diff options
Diffstat (limited to 'package/nginx/files/nginx.conf')
-rw-r--r-- | package/nginx/files/nginx.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/nginx/files/nginx.conf b/package/nginx/files/nginx.conf new file mode 100644 index 000000000..ea11ef025 --- /dev/null +++ b/package/nginx/files/nginx.conf @@ -0,0 +1,24 @@ +worker_processes 1; + +events { + worker_connections 1024; +} + +http { + include mime.types; + default_type application/octet-stream; + sendfile on; + keepalive_timeout 65; + + server { + listen 80; + server_name localhost; + root /srv/www/htdocs; + + location ~ \.php$ { + fastcgi_pass unix:/var/run/php5.sock; + fastcgi_index index.php; + include fastcgi_params; + } + } +} |