- Served at
/helloworld/ - An static
HTML/CSS/javascriptuser interface
- Routed at
/helloworld/
- Routed at
/helloworld/adder.html
- Routed at
/helloworld/write.html
- Every 404 error redirects to this page (If request accepts
HTMLresponse)
-
Add following configurations to nginx server (Change
</path/to/helloworld/root/dir>to absolute path of client directory):location /helloworld { alias </path/to/helloworld/root/dir>; index helloworld.html; } error_page 404 /helloworld/404.html;
-
Restart Nginx service:
> sudo systemctl restart nginx- Full Nginx config is available at
/nginx/nginx-server-config