Tutorial: https://www.youtube.com/watch?v=ndTh5KOIRVQ&ab_channel=PragmaticReviews
Source code: https://gitlab.com/pragmaticreviews/next.js-jobs-app/-/tree/next-advanced-config
run development: npm run dev
run in production mode:
npm run build
npm run start
More info on rewrites: https://www.youtube.com/watch?v=hiLjA-tQtfU&t=362s&ab_channel=CodingGalore