From 5041d31212f96cef55c6d738dd899e457c2ed918 Mon Sep 17 00:00:00 2001 From: Anthony Correa Date: Mon, 10 Apr 2023 17:18:14 -0500 Subject: [PATCH] actually make site work --- apps/html/gm-tools/index.html | 40 ++++++++++++++++++++++++++++++++++ apps/html/index.html | 6 ++++- apps/nginx/conf.d/default.conf | 7 ++++++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 apps/html/gm-tools/index.html diff --git a/apps/html/gm-tools/index.html b/apps/html/gm-tools/index.html new file mode 100644 index 0000000..a30bcca --- /dev/null +++ b/apps/html/gm-tools/index.html @@ -0,0 +1,40 @@ + + + + + + + Crew of the Kahuna + + + + + + + + + + + +
+
+
+
+
+
GM Tools
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/apps/html/index.html b/apps/html/index.html index 140ac6a..1a3e2b0 100644 --- a/apps/html/index.html +++ b/apps/html/index.html @@ -26,7 +26,11 @@
Links
- +
diff --git a/apps/nginx/conf.d/default.conf b/apps/nginx/conf.d/default.conf index 67f53e3..7e84c9c 100644 --- a/apps/nginx/conf.d/default.conf +++ b/apps/nginx/conf.d/default.conf @@ -28,6 +28,13 @@ server { # This application is simply proxy-passed without any authentication index index.html index.htm; + } + location /gm-tools { + auth_request /vouch/validate; + auth_request_set $auth_resp_x_vouch_user $upstream_http_x_vouch_user; + # This application is simply proxy-passed without any authentication + index index.html index.htm; + } include /etc/nginx/conf.d/apps-enabled/*.conf;