add deploy
This commit is contained in:
96
deploy/heqiapp.conf
Normal file
96
deploy/heqiapp.conf
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user