30 lines
424 B
Nginx Configuration File
30 lines
424 B
Nginx Configuration File
user nginx;
|
|
pid /run/nginx.pid;
|
|
worker_processes 1;
|
|
error_log /dev/stderr warn;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
access_log off;
|
|
server_tokens off;
|
|
client_max_body_size 100m;
|
|
sendfile on;
|
|
send_timeout 300;
|
|
|
|
server {
|
|
listen 8080;
|
|
server_name localhost;
|
|
|
|
passenger_enabled on;
|
|
rails_env production;
|
|
|
|
root /srv/decidim-app/public;
|
|
}
|
|
}
|