Tag Info

New answers tagged

1

Yes, this is easy enough and a real time saver as the number of sites you manage increases. In the /etc/nginx/conf.d/ directory, create one or more '.conf' files with the reusable config snippets you need. For example, type sudo nano /etc/nginx/conf.d/headers.conf and put your headers in the file. The default nginx.conf has a wildcard include directive at ...



Top 50 recent answers are included