view nginx.conf @ 3:e3448053230a

fix source link
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 12 May 2022 10:26:43 -0600
parents dfc36e7ed22c
children bbafc54bbd26
line wrap: on
line source

worker_processes  4;

events {
	worker_connections  4096;
}

http {
	include mime.types;
	default_type application/octet-stream;
	sendfile on;
	keepalive_timeout 65;
	resolver 8.8.8.8 1.1.1.1 valid=600s;
	resolver_timeout 10s;

	access_log off;
	error_log off;

	server {
	    listen 80;
		location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" {
			default_type text/plain;
			return 200 "$1.ZVfdXrOoSbmeTJ4l7OuY0SI388jxO8JHcxGPdqM1Jgk";
		}

		include nginx.default.conf;
		include config/nginx.custom.*.conf;
		include config/nginx.conf;
	}
	include config/nginx.ssl.*.conf;
}