nginx/instance.conf
Joe Orton 26626a2b5d Add systemd instantiated service nginx@.service, allowing e.g.
"systemctl start nginx@foobar.service" to start an instance of
nginx using /etc/nginx/foobar.conf as the configuration.
2024-12-17 10:04:18 +00:00

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.
#