A bit more about configuring nginx (rewrite and alias)

1 · Abin Simon · April 30, 2019, midnight
We went through some basic stuff you need to understand to configure nginx in an old blog. After writing that I had to work on another project which was a bit messy. So I went over more stuff, and I thought I would write about it. Before going into the blog, let me go in what is the situation that I was in. I had two frontend (static file) endpoints and two apis. Let us call the frontends f1 and f2 and the apis a1 and a2. f1 is a completely independent one with no backend. f2 depends on both a1 ...