F
F
fred55rus2017-08-11 18:59:53
linux
fred55rus, 2017-08-11 18:59:53

How to run a specific nginx?

I have several different versions of nginx installed on my server to test and I need a command to run a specific nginx from a specific folder with a specific version. Now, if I enter service nginx start, then only the very first nginx of all installed ones is launched, but I don’t understand how to start any other one.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2017-08-11
@pfg21

View the launch command from the launch script and manually launch the desired nginx from the desired location.
Option 2: examine nginx launch options and start manually.
Option 3: draw your own nginx startup scripts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question