Skip to content
This repository was archived by the owner on Oct 17, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ord_interface/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ http {
access_log /dev/stdout;
error_log /var/log/nginx.log;

# Compress the SPA's bundles and the API's JSON. Without gzip_types nginx compresses
# only text/html, and the load balancer in front passes responses through as they
# are. Level 6 is where the ratio on JSON levels off; higher levels run far slower
# for little more.
gzip on;
gzip_disable "msie6";
gzip_comp_level 6;
gzip_min_length 1024;
gzip_proxied any;
gzip_vary on;
gzip_types text/plain text/css text/javascript application/javascript application/json application/xml image/svg+xml application/wasm;

# Cache policy keyed on the (possibly rewritten) request path: content-hashed
# Vite assets are immutable, the SPA entry point must always be revalidated,
Expand Down
Loading