mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	| @@ -8,7 +8,7 @@ server { | ||||
| 	set $port "80"; | ||||
|  | ||||
| 	server_name localhost-nginx-proxy-manager; | ||||
| 	access_log /data/logs/default.log standard; | ||||
| 	access_log /data/logs/fallback_access.log standard; | ||||
| 	error_log /dev/null crit; | ||||
| 	include conf.d/include/assets.conf; | ||||
| 	include conf.d/include/block-exploits.conf; | ||||
| @@ -29,7 +29,7 @@ server { | ||||
| 	set $port "443"; | ||||
|  | ||||
| 	server_name localhost; | ||||
| 	access_log /data/logs/default.log standard; | ||||
| 	access_log /data/logs/fallback-access.log standard; | ||||
| 	error_log /dev/null crit; | ||||
| 	ssl_certificate /data/nginx/dummycert.pem; | ||||
| 	ssl_certificate_key /data/nginx/dummykey.pem; | ||||
|   | ||||
| @@ -9,7 +9,7 @@ worker_processes auto; | ||||
| # Enables the use of JIT for regular expressions to speed-up their processing. | ||||
| pcre_jit on; | ||||
|  | ||||
| error_log /data/logs/error.log warn; | ||||
| error_log /data/logs/fallback_error.log warn; | ||||
|  | ||||
| # Includes files with directives to load dynamic modules. | ||||
| include /etc/nginx/modules/*.conf; | ||||
| @@ -46,8 +46,7 @@ http { | ||||
| 	log_format proxy '[$time_local] $upstream_cache_status $upstream_status $status - $request_method $scheme $host "$request_uri" [Client $remote_addr] [Length $body_bytes_sent] [Gzip $gzip_ratio] [Sent-to $server] "$http_user_agent" "$http_referer"'; | ||||
| 	log_format standard '[$time_local] $status - $request_method $scheme $host "$request_uri" [Client $remote_addr] [Length $body_bytes_sent] [Gzip $gzip_ratio] "$http_user_agent" "$http_referer"'; | ||||
|  | ||||
|  | ||||
| 	access_log /data/logs/default.log proxy; | ||||
| 	access_log /data/logs/fallback_access.log proxy; | ||||
|  | ||||
| 	# Dynamically generated resolvers file | ||||
| 	include /etc/nginx/conf.d/include/resolvers.conf; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user