Difference between revisions of "Nginx"

From wiki
Jump to navigation Jump to search
(Created page with "[https://nginx.org/ Nginx] is a webserver working very well on small systems =Issues and fixes= ;could not build server_names_hash, you should increase server_names_hash_buc...")
 
Line 1: Line 1:
 
[https://nginx.org/ Nginx] is a webserver working very well on small systems  
 
[https://nginx.org/ Nginx] is a webserver working very well on small systems  
 +
 +
=Tips=
 +
# Put al customizations in your site-definitions (in ./sites-available) or in .conf files in the ./conf.d subdir. This make it easier to migrate your configuration to another server.
  
 
=Issues and fixes=
 
=Issues and fixes=

Revision as of 17:51, 22 December 2019

Nginx is a webserver working very well on small systems

Tips

  1. Put al customizations in your site-definitions (in ./sites-available) or in .conf files in the ./conf.d subdir. This make it easier to migrate your configuration to another server.

Issues and fixes

could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
Due to many servernames in a server definition. In a .conf file in /etc/nginx/conf.d put a line like
server_names_hash_bucket_size 64;