server { listen 80; listen [::]:80; server_name {{DOMAIN}} www.{{DOMAIN}}; root /var/www/{{DOMAIN}}/html; index index.html index.htm; access_log /var/www/{{DOMAIN}}/logs/access.log; error_log /var/www/{{DOMAIN}}/logs/error.log; location / { try_files $uri $uri/ =404; } # location /api/ { # proxy_pass http://localhost:3000; # proxy_set_header Host $host; # proxy_set_header X-Real-IP $remote_addr; # } }