Compare commits
No commits in common. "fa61a2342c515bbf6f7d2385655837a1d63918ad" and "2a2f184a7ef3ab3c01bd3a1c4260faea1bb98ce1" have entirely different histories.
fa61a2342c
...
2a2f184a7e
|
@ -1,34 +0,0 @@
|
|||
worker_processes 1;
|
||||
error_log stderr;
|
||||
pid nginx.pid;
|
||||
daemon off;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
}
|
||||
|
||||
http {
|
||||
types_hash_max_size 2048;
|
||||
include mime.types;
|
||||
server {
|
||||
listen {{ $.PORT }};
|
||||
server_name _;
|
||||
{{ if ne $.NGINX_ROOT "" }}
|
||||
root /app/www/{{ $.NGINX_ROOT }};
|
||||
{{ else }}
|
||||
root /app/www;
|
||||
{{ end }}
|
||||
index index.html;
|
||||
port_in_redirect off;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /404.html {
|
||||
root /app/www/{{ $.NGINX_ROOT }};
|
||||
internal;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{{ define "content" }}
|
||||
{{ partial "404.html" . }}
|
||||
{{ end }}
|
|
@ -1,7 +0,0 @@
|
|||
<section class="container centered">
|
||||
<div class="error">
|
||||
<img src="/images/undraw-404.svg" alt="404 Page not found image">
|
||||
<h1>{{ i18n "page_not_found" }}</h1>
|
||||
<p>{{ i18n "page_does_not_exist" }}<br />{{ i18n "head_back" .Site.BaseURL | safeHTML }}</p>
|
||||
</div>
|
||||
</section>
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 21 KiB |
Reference in New Issue