1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/revive/nginx.conf

31 lines
576 B
Nginx Configuration File
Raw Normal View History

2015-09-21 12:24:21 +02:00
user nobody;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name _;
2015-09-24 03:20:57 +02:00
client_max_body_size 4M;
client_body_buffer_size 128k;
2015-09-21 12:24:21 +02:00
root /var/www/html;
index index.php;
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
}
}
}