mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
27 lines
519 B
Nginx Configuration File
27 lines
519 B
Nginx Configuration File
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 _;
|
|
root /var/www/html/upload/public;
|
|
try_files $uri @php_index;
|
|
|
|
location @php_index {
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
}
|
|
}
|
|
}
|