Added docker & nginx config
This commit is contained in:
parent
a1efeaf6f1
commit
e57909b318
7 changed files with 150 additions and 3 deletions
13
nginx/gateway.conf.template
Normal file
13
nginx/gateway.conf.template
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# vim: ft=nginx
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
location /api/v1/posts/ {
|
||||
proxy_pass http://${RB_BLOG}/v1/posts/;
|
||||
}
|
||||
|
||||
location /api/v1/sections/ {
|
||||
proxy_pass http://${RB_BLOG}/v1/sections/;
|
||||
}
|
||||
}
|
||||
Reference in a new issue