Added docker & nginx config

This commit is contained in:
Jef Roosens 2021-12-28 17:35:40 +01:00
parent a1efeaf6f1
commit e57909b318
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
7 changed files with 150 additions and 3 deletions

View 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/;
}
}