mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-11-06 12:08:43 +00:00
24 lines
378 B
Plaintext
24 lines
378 B
Plaintext
worker_processes 1;
|
|
error_log stderr;
|
|
pid nginx.pid;
|
|
daemon off;
|
|
|
|
events {
|
|
worker_connections 768;
|
|
}
|
|
|
|
http {
|
|
types_hash_max_size 2048;
|
|
include mime.types;
|
|
server {
|
|
listen <%= ENV["PORT"] %>;
|
|
server_name _;
|
|
<% if ENV["NGINX_ROOT"] %>
|
|
root /app/www/<%= ENV["NGINX_ROOT"] %>;
|
|
<% else %>
|
|
root /app/www;
|
|
<% end %>
|
|
index index.html;
|
|
}
|
|
}
|