server { listen *:80; root /opt/neko/dist; index index.html; client_max_body_size 100m; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; sendfile off; location / { root /opt/neko/dist; index index.html; } location /version { default_type application/json; return 200 '{"version": "$APP_VERSION"}'; } }