user nginx; pid /run/nginx.pid; worker_processes auto; worker_rlimit_nofile 65535; events { multi_accept on; worker_connections 65535; } http { charset utf-8; sendfile on; tcp_nopush on; tcp_nodelay on; server_tokens off; log_not_found off; types_hash_max_size 2048; types_hash_bucket_size 64; client_max_body_size 16M; # MIME default_type application/json; # Load configs include /etc/nginx/conf.d/*.conf; server { listen 80; listen [::]:80; root /html; # reverse proxy location /api { proxy_pass http://api:8080; } } }