From 1dd6892231b8b81fe59491a9baa9409bcc60cc1a Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Fri, 2 Apr 2021 10:45:52 -0700 Subject: [PATCH] Moving UI and API to domain and subdomain. --- Caddyfile | 4 +++ ui/index.html | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 ui/index.html diff --git a/Caddyfile b/Caddyfile index ee5b1c0..5b26440 100644 --- a/Caddyfile +++ b/Caddyfile @@ -3,5 +3,9 @@ } nodeauth.dev { + reverse_proxy 127.0.0.1:5000 +} + +api.nodeauth.dev { reverse_proxy 127.0.0.1:3000 } \ No newline at end of file diff --git a/ui/index.html b/ui/index.html new file mode 100644 index 0000000..a99d03c --- /dev/null +++ b/ui/index.html @@ -0,0 +1,94 @@ + + + + + + + Document + + +

Hello

+

Register Form

+
+ + + +
+
+
+
+

Login Form

+
+ + + +
+ +
+
+
+ + + + + +