test ++
This commit is contained in:
parent
68a5e5e82e
commit
7e9b720de8
2 changed files with 1 additions and 14 deletions
|
@ -30,19 +30,6 @@ http {
|
|||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
|
||||
server {
|
||||
server_name _; # This is just an invalid value which will never trigger on a real hostname.
|
||||
listen 80;
|
||||
access_log /var/log/nginx/access.log vhost;
|
||||
error_page 503 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
internal;
|
||||
}
|
||||
location / {
|
||||
return 503;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
daemon off;
|
|
@ -297,7 +297,7 @@ server {
|
|||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
return 503;
|
||||
return 503 "i hate nginx";
|
||||
|
||||
{{- if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
|
||||
listen {{ $globals.external_https_port }} ssl http2;
|
||||
|
|
Reference in a new issue