Files
platforms/deploy/heqiapp.conf

97 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2026-07-31 15:17:06 +08:00
http://rest.heqiapp.com {
2026-07-31 15:17:06 +08:00
request_body {
max_size 500MB
}
reverse_proxy localhost:12426
}
2026-07-31 17:36:25 +08:00
http://heqiapp.com {
2026-07-31 15:17:06 +08:00
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
}
}
2026-07-31 17:36:25 +08:00
http://www.heqiapp.com {
2026-07-31 15:17:06 +08:00
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
}
}
2026-07-31 17:36:25 +08:00
http://p.heqiapp.com {
2026-07-31 15:17:06 +08:00
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
}
}
2026-07-31 17:36:25 +08:00
http://z.heqiapp.com {
2026-07-31 15:17:06 +08:00
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
}
}
2026-07-31 17:36:25 +08:00
http://d.heqiapp.com {
2026-07-31 15:17:06 +08:00
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
}
}