Spotter-VM/lxc-apps/decidim/lxc/etc/nginx/nginx.conf

34 lines
550 B
Nginx Configuration File
Raw Normal View History

user decidim;
2019-11-15 18:00:26 +01:00
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;
tcp_nodelay on;
2019-11-15 18:00:26 +01:00
send_timeout 300;
passenger_root /usr/local/lib/ruby/gems/2.6.0/gems/passenger-6.0.4;
passenger_ruby /usr/local/bin/ruby;
2019-11-15 18:00:26 +01:00
server {
listen 8080;
server_name localhost;
passenger_enabled on;
rails_env production;
root /srv/decidim-app/public;
}
}