web/nginx/gateway.conf.template

14 lines
255 B
Nginx Configuration File

# vim: ft=nginx
server {
listen 80;
listen [::]:80;
location ~ /api/v1/posts/ {
proxy_pass http://${RB_BLOG}/api/v1/posts/;
}
location ~ /api/v1/sections/ {
proxy_pass http://${RB_BLOG}/api/v1/sections/;
}
}