road to v1.2.1

This commit is contained in:
bunkerity
2020-12-06 22:22:58 +01:00
parent 78c1e5c676
commit f618c73e6c
21 changed files with 130 additions and 74 deletions

View File

@@ -8,3 +8,4 @@ ssl_session_timeout 1d;
ssl_session_cache shared:MozSSL:10m;
%SSL_DHPARAM%
%SSL_CIPHERS%
%LETS_ENCRYPT_WEBROOT%

View File

@@ -0,0 +1,3 @@
location ~ ^/.well-known/acme-challenge/ {
root /acme-challenge;
}

View File

@@ -0,0 +1,6 @@
server {
%LISTEN_HTTP%
server_name _;
%USE_HTTPS%
%MULTISITE_DISABLE_DEFAULT_SERVER%
}

View File

@@ -1,6 +1,3 @@
server {
%LISTEN_HTTP%
%USE_HTTPS%
server_name _;
location / {
return 444;
}

View File

@@ -0,0 +1,20 @@
daemon on;
pid /tmp/nginx.pid;
events {
worker_connections 1024;
use epoll;
}
http {
server {
listen 0.0.0.0:%HTTP_PORT% default_server;
server_name _;
location ~ ^/.well-known/acme-challenge/ {
root /acme-challenge;
}
location / {
return 444;
}
}
}

View File

@@ -100,8 +100,8 @@ http {
# custom http confs
include /http-confs/*.conf;
# disable default server when MULTISITE=yes
%MULTISITE_DISABLE_DEFAULT_SERVER%
# default server when MULTISITE=yes
%MULTISITE_DEFAULT_SERVER%
# server config(s)
%INCLUDE_SERVER%