Search code examples
linuxhttpnginxinstallationserver

How can I install more than one different version of nginx on Linux?


How can I install more than one different version of nginx on Linux? E.g., 1.8.* and 1.9.*

And it must be running all versions at the same time!


Solution

  • This looks like a job for Docker.

    The Docker program will let you run multiple versions of software on the same Linux kernel.

    After installing Docker, you need to create containers each running different versions of nginx that you specify. To get started I advice this webpage: nginx (official image)