view nginx.default.conf @ 18:64eee582fec1

add move logs while restart
author Vadim Filimonov <fffilimonov@yandex.ru>
date Wed, 19 Jun 2024 11:45:10 +0300
parents bbafc54bbd26
children
line wrap: on
line source

		client_max_body_size 0;
		proxy_http_version 1.1;
		proxy_set_header Host $http_host;
		proxy_set_header X-Forwarded-Proto $scheme;
		proxy_set_header X-Real-IP $remote_addr;
		charset utf-8;

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

		location / {
			proxy_pass http://127.0.0.1:8080;
		}