road to v1.2.1
This commit is contained in:
@@ -8,3 +8,4 @@ ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:MozSSL:10m;
|
||||
%SSL_DHPARAM%
|
||||
%SSL_CIPHERS%
|
||||
%LETS_ENCRYPT_WEBROOT%
|
||||
@@ -0,0 +1,3 @@
|
||||
location ~ ^/.well-known/acme-challenge/ {
|
||||
root /acme-challenge;
|
||||
}
|
||||
6
confs/global/multisite-default-server.conf
Normal file
6
confs/global/multisite-default-server.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
server {
|
||||
%LISTEN_HTTP%
|
||||
server_name _;
|
||||
%USE_HTTPS%
|
||||
%MULTISITE_DISABLE_DEFAULT_SERVER%
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
server {
|
||||
%LISTEN_HTTP%
|
||||
%USE_HTTPS%
|
||||
server_name _;
|
||||
location / {
|
||||
return 444;
|
||||
}
|
||||
|
||||
20
confs/global/nginx-temp.conf
Normal file
20
confs/global/nginx-temp.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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%
|
||||
|
||||
Reference in New Issue
Block a user