server {
	listen *:80;
	listen [::]:80;
	server_name localhost;
	location /nginx_status {
		stub_status on;
		access_log   off;
		allow 127.0.0.1;
		allow ::1;
		deny all;
	}
}

server {
	listen *:80 default_server;
	listen [::]:80 default_server;
	
	location /.well-known/acme-challenge {
		root /srv/http/common/letsencrypt/;
	}
	
	location / {
		return 301 https://$host$request_uri;
	}
}

