From 2811d7bcf9ad6952f9b78f497f166c3cbbd679b8 Mon Sep 17 00:00:00 2001 From: yanweidong Date: Fri, 31 Jul 2026 15:17:06 +0800 Subject: [PATCH] add deploy --- deploy/heqiapp.conf | 96 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 deploy/heqiapp.conf diff --git a/deploy/heqiapp.conf b/deploy/heqiapp.conf new file mode 100644 index 0000000..6fe0540 --- /dev/null +++ b/deploy/heqiapp.conf @@ -0,0 +1,96 @@ + + +rest.heqiapp.com { + request_body { + max_size 500MB + } + + reverse_proxy localhost:12426 + +} + +heqiapp.com { + encode gzip + root * /data/heqiapp/dist/site + + @static path /static/* + handle @static { + header Cache-Control "public, max-age=2592000, immutable" + try_files {path} =404 + file_server + } + + handle { + try_files {path} {path}/ /index.html + file_server + } +} + +www.heqiapp.com { + encode gzip + root * /data/heqiapp/dist/site + + @static path /static/* + handle @static { + header Cache-Control "public, max-age=2592000, immutable" + try_files {path} =404 + file_server + } + + handle { + try_files {path} {path}/ /index.html + file_server + } +} + + +p.heqiapp.com { + encode gzip + root * /data/heqiapp/dist/platform + + @static path /static/* + handle @static { + header Cache-Control "public, max-age=2592000, immutable" + try_files {path} =404 + file_server + } + + handle { + try_files {path} {path}/ /index.html + file_server + } +} + +z.heqiapp.com { + encode gzip + root * /data/heqiapp/dist/gas + + @static path /static/* + handle @static { + header Cache-Control "public, max-age=2592000, immutable" + try_files {path} =404 + file_server + } + + handle { + try_files {path} {path}/ /index.html + file_server + } +} + +d.heqiapp.com { + encode gzip + root * /data/heqiapp/dist/delivery + + @static path /static/* + handle @static { + header Cache-Control "public, max-age=2592000, immutable" + try_files {path} =404 + file_server + } + + handle { + try_files {path} {path}/ /index.html + file_server + } +}