diff nginx.conf @ 0:dfc36e7ed22c

init
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 12 May 2022 13:51:59 +0400
parents
children bbafc54bbd26
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nginx.conf	Thu May 12 13:51:59 2022 +0400
@@ -0,0 +1,30 @@
+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;
+}