|
|
@ -41,10 +41,12 @@ server { |
|
|
|
# should send them to the main page |
|
|
|
# should send them to the main page |
|
|
|
location / { |
|
|
|
location / { |
|
|
|
default_type text/html; |
|
|
|
default_type text/html; |
|
|
|
return 200 '<html> |
|
|
|
return 404 '<html> |
|
|
|
<body> |
|
|
|
<body> |
|
|
|
<h1>Unknown hostname "$host"</h1> |
|
|
|
<h1>Unknown hostname "$host"</h1> |
|
|
|
Try <a href="https://${DOMAIN_NAME}/">${DOMAIN_NAME}</a> instead |
|
|
|
<p>Try <a href="https://${DOMAIN_NAME}/">${DOMAIN_NAME}</a> instead |
|
|
|
|
|
|
|
<p>Sub-sites enabled: ${MODULES} |
|
|
|
|
|
|
|
|
|
|
|
<pre style="white-space: pre-wrap"> |
|
|
|
<pre style="white-space: pre-wrap"> |
|
|
|
$request |
|
|
|
$request |
|
|
|
Host: $host |
|
|
|
Host: $host |
|
|
|