mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-03 17:13:33 +00:00 
			
		
		
		
	Add custom .conf above includes for NPM-generated files.
Added a new clause for custom http_top.conf above the include clauses for NPM-generated files. Allows for more flexibility with adding custom nginx .conf files to NPM Use case: adding a configuration change needs to be present before other custom configuration files are called and reference configuration from the custom http_top.conf file. Example: add a new log_format in http_top.conf, then referencing it in a access_log clause in server_proxy.conf.
This commit is contained in:
		@@ -69,6 +69,9 @@ http {
 | 
			
		||||
	real_ip_header X-Real-IP;
 | 
			
		||||
	real_ip_recursive on;
 | 
			
		||||
 | 
			
		||||
	# Custom
 | 
			
		||||
	include /data/nginx/custom/http_top[.]conf;
 | 
			
		||||
 | 
			
		||||
	# Files generated by NPM
 | 
			
		||||
	include /etc/nginx/conf.d/*.conf;
 | 
			
		||||
	include /data/nginx/default_host/*.conf;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user