mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:34 +02:00
28 lines
582 B
Nginx Configuration File
28 lines
582 B
Nginx Configuration File
|
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 _;
|
||
|
|
||
|
root /var/www/html/upload/public/;
|
||
|
index index.php;
|
||
|
|
||
|
location ~ \.php$ {
|
||
|
include fastcgi_params;
|
||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||
|
fastcgi_param REDIRECT_STATUS 200;
|
||
|
fastcgi_pass 127.0.0.1:9000;
|
||
|
}
|
||
|
}
|
||
|
}
|