"systemctl start nginx@foobar.service" to start an instance of nginx using /etc/nginx/foobar.conf as the configuration.
21 lines
720 B
Plaintext
21 lines
720 B
Plaintext
#
|
|
# This is an example instance-specific configuration file.
|
|
#
|
|
# To use this example, copy instance.conf to /etc/nginx/foobar.conf
|
|
# and replace all the references to @INSTANCE@, for example using:
|
|
#
|
|
# # sed s/@INSTANCE@/foobar/g < instance.conf > /etc/nginx/foobar.conf
|
|
#
|
|
# This new configuration file be used instead of /etc/nginx/nginx.conf
|
|
# when running:
|
|
#
|
|
# # systemctl start nginx@foobar.service
|
|
#
|
|
# This example configuration adjust the location of the PID file,
|
|
# access and error logs to be instance-specific. Further
|
|
# customisations will be required for an instance to run
|
|
# simultaneously to nginx.service under the default configuration,
|
|
# e.g. changing the port and root directory as appropriate.
|
|
#
|
|
|