comparison host/startup/nginx/nginx.default.conf.luan @ 2073:a70b603f82f5 default tip

nginx minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Dec 2025 21:36:08 -0700
parents a4435e2e3417
children
comparison
equal deleted inserted replaced
2072:b934176dfcf1 2073:a70b603f82f5
12 proxy_set_header X-Forwarded-Proto $scheme; 12 proxy_set_header X-Forwarded-Proto $scheme;
13 proxy_set_header X-Real-IP $remote_addr; 13 proxy_set_header X-Real-IP $remote_addr;
14 14
15 charset utf-8; 15 charset utf-8;
16 16
17 location ~ /(?<path>.*) { 17 location / {
18 chunked_transfer_encoding off; 18 chunked_transfer_encoding off;
19 proxy_cache_key $scheme$host$request_uri; 19 proxy_cache_key $scheme$host$request_uri;
20 proxy_cache nginx_cache; 20 proxy_cache nginx_cache;
21 proxy_cache_revalidate on; 21 proxy_cache_revalidate on;
22 proxy_cache_min_uses 1; 22 proxy_cache_min_uses 1;