[image-service] first commit
This commit is contained in:
commit
88351993cf
6 changed files with 153 additions and 0 deletions
18
nginx.conf
Normal file
18
nginx.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue