mirror of
https://github.com/Dannecron/parcel-example-neko.git
synced 2025-12-25 23:32:36 +03:00
23 lines
415 B
Plaintext
23 lines
415 B
Plaintext
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"}';
|
|
}
|
|
}
|