2026-05-08 10:41:29 +07:00
|
|
|
server {
|
|
|
|
|
listen 80;
|
|
|
|
|
|
|
|
|
|
# /image/{folder}/...
|
2026-05-12 19:10:04 +07:00
|
|
|
location ~ ^/image/(page_drink|page_drink_disable|page_drink_disable_n|page_drink_disable_n2|page_drink_n|page_drink_picture2_n|page_drink_press|page_drink_press_n|page_drink_select)/(.*)$ {
|
|
|
|
|
alias /usr/src/app/taobin_project/image/$1/$2;
|
|
|
|
|
# alias /taobin_project/image/$1/$2;
|
2026-05-08 10:41:29 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# /inter/{country}/image/{folder}/...
|
2026-05-12 19:10:04 +07:00
|
|
|
location ~ ^/inter/([^/]+)/image/(page_drink|page_drink_disable|page_drink_disable_n|page_drink_disable_n2|page_drink_n|page_drink_picture2_n|page_drink_press|page_drink_press_n|page_drink_select)/(.*)$ {
|
|
|
|
|
alias /usr/src/app/taobin_project/inter/$1/image/$2/$3;
|
|
|
|
|
# alias /taobin_project/inter/$1/image/$2/$3;
|
2026-05-08 10:41:29 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Block any path
|
|
|
|
|
location / {
|
|
|
|
|
return 403;
|
|
|
|
|
}
|
|
|
|
|
}
|