chore: more improvements
This commit is contained in:
@ -9,19 +9,12 @@ events {}
|
|||||||
error_log logs/error.log debug;
|
error_log logs/error.log debug;
|
||||||
|
|
||||||
http {
|
http {
|
||||||
server {
|
|
||||||
listen 8888;
|
|
||||||
|
|
||||||
return 418 "proxy passed to backend\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8080;
|
listen 8080;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
add_header "Content-Type" "text/html";
|
||||||
howto "GET";
|
howto "GET";
|
||||||
|
|
||||||
proxy_pass http://localhost:8888;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
<ul>
|
||||||
{{#each persons}}
|
{{#each persons}}
|
||||||
Person: {{ id }}. {{ name }}
|
<li>Person: {{ id }}. {{ name }}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|||||||
Reference in New Issue
Block a user