[image-service] first commit

This commit is contained in:
Ittipat Lusuk 2026-05-08 10:41:29 +07:00
commit 88351993cf
6 changed files with 153 additions and 0 deletions

18
nginx.conf Normal file
View file

@ -0,0 +1,18 @@
server {
listen 80;
# /image/{folder}/...
location ~ ^/image/(page_drink_n|page_drink_press_n|page_drink_disable_n2)/(.*)$ {
alias /taobin_project/image/$1/$2;
}
# /inter/{country}/image/{folder}/...
location ~ ^/inter/([^/]+)/image/(page_drink_n|page_drink_press_n|page_drink_disable_n2)/(.*)$ {
alias /taobin_project/inter/$1/image/$2/$3;
}
# Block any path
location / {
return 403;
}
}