Create an Nginx reverse proxy across multiple backend servers

So you’ve got an application running in IBM Cloud. It’s made up of two components — each a Docker container, each listening on a given port and IP address. These components might be a backend that talks to a database, and a frontend that serves a website and talks to the backend. They could run on the same virtual server, or you might want to split them across different instances.
Either way, you may want these two components to appear as though they’re coming from the same endpoint, and have something route the traffic for you in a clever way. For example, you could route traffic calling any /api/ endpoint to the backend component, and any other traffic to the frontend component. It’s easy to do this using a reverse proxy like Nginx, and this tutorial shows you how.

Even easier, you’ll run it in IBM Cloud as a Cloud Foundry application.


Original URL: https://developer.ibm.com/tutorials/develop-a-website-with-different-frontend-and-api-backend-endpoints/

Original article

‘Windows Subsystem for Linux 2’ Will Include a Microsoft-Written Linux Kernel

ZDNet reports that there’ll be some changes in Microsoft’s second version of the Windows Subsystem for Linux, WSL2:
Microsoft has decided to remove the Linux kernel from the Windows OS image with WSL2. Instead, the company will deliver it to users’ machines using Windows Update. Users will be able to manually check for new kernel updates by clicking the “Check for Updates” button or by waiting for Windows to do this automatically. “Our end goal is for this change to be seamless, where your Linux kernel is kept up to date without you needing to think about it. By default this will be handled entirely by Windows, just like regular updates on your machine,” said Microsoft Program Manager Craig Loewen in a blog post today outlining the coming change…

When Microsoft first introduced WSL in Windows 10 in 2016 WSL was more of an Linux interface at that point designed in


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/-8etXippd5o/windows-subsystem-for-linux-2-will-include-a-microsoft-written-linux-kernel

Original article

GitHub Acquires npm

Nat Friedman: npm is a critical part of the JavaScript world. The work of the npm team over the last 10 years, and the contributions of hundreds of thousands of open source developers and maintainers, have made npm home to over 1.3 million packages with 75 billion downloads a month. Together, they’ve helped JavaScript become the largest developer ecosystem in the world. We at GitHub are honored to be part of the next chapter of npm’s story and to help npm continue to scale to meet the needs of the fast-growing JavaScript community.

Read more of this story at Slashdot.


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/VZEuquwBesc/github-acquires-npm

Original article

2020-03-14 22:54:35

Coronavirus: The Metropolitan Opera to Stream Free Operas.


Original URL: https://www.vulture.com/2020/03/coronavirus-the-metropolitan-opera-to-stream-free-operas.html?utm_campaign=nym&utm_source=fb&utm_medium=s1&fbclid=IwAR2N0-xJePmDVZFnHBl-aVo8b3yyBETHsPHV0D98K33Cd2GnOeiQ5o4GxFI&fbclid=IwAR0D8Y4UYzNqm36AK8zTXD_3rMSSIDLPADkUuB1ObR8pRViUKL_fS_5_Reg

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: