actually make site work

This commit is contained in:
2023-04-10 17:18:14 -05:00
parent 52136b9ae8
commit 5041d31212
3 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Crew of the Kahuna</title>
<link rel="stylesheet" href="../assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i&amp;display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700&amp;display=swap">
<link rel="stylesheet" href="../assets/css/Articles-Cards-images.css">
<link rel="stylesheet" href="../assets/css/Features-Cards-icons.css">
<link rel="stylesheet" href="../assets/css/Navigation-Clean.css">
<link rel="shortcut icon" type="image/jpg" href="favicon.png"/>
</head>
<body style="background: #b3a48d;">
<nav class="navbar navbar-light navbar-expand bg-light">
<div class="container"><img src="../assets/img/crew-of-the-kahuna-horiz.svg" width="400"></div>
</nav>
<div class="container-sm">
<div class="row">
<div class="col p-3">
<div class="card">
<div class="card-header d-lg-flex align-items-lg-center">
<h5 class="text-uppercase" style="font-family: Oswald, sans-serif;">GM Tools</h5>
</div>
<div class="card-body p-0">
<div class="list-group list-group-flush"><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/filebrowser"><img src="../assets/img/filebrowser-logo.svg" width="32" height="32"><span class="mx-2">Filebrowser</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/metube"><img src="../assets/img/metube.png" width="32" height="32"><span class="mx-2">Metube</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/rolladvantage/token_stamp"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" class="bi bi-file-person-fill" style="width: 32px;height: 32px;">
<path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-1 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm-3 4c2.623 0 4.146.826 5 1.755V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-1.245C3.854 11.825 5.377 11 8 11z"></path>
</svg><span class="mx-2">Token Stamp</span></a></div>
</div>
</div>
</div>
</div>
</div>
<script src="../assets/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>

View File

@@ -26,7 +26,11 @@
<h5 class="text-uppercase" style="font-family: Oswald, sans-serif;">Links</h5> <h5 class="text-uppercase" style="font-family: Oswald, sans-serif;">Links</h5>
</div> </div>
<div class="card-body p-0"> <div class="card-body p-0">
<div class="list-group list-group-flush"><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/foundry"><img src="assets/img/fvtt-solid-512.png" width="32" height="32"><span class="mx-2">Foundry</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="https://discord.com/channels/793158154871111681/1090411116003336212"><img src="assets/img/discord-512.webp" width="32" height="32"><span class="mx-2">Discord</span></a></div> <div class="list-group list-group-flush"><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/foundry"><img src="assets/img/fvtt-solid-512.png" width="32" height="32"><span class="mx-2">Foundry</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="https://discord.gg/tbU7G54D"><img src="assets/img/discord-512.webp" width="32" height="32"><span class="mx-2">Discord</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/gm-tools"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" class="bi bi-journal-bookmark" style="width: 32px;height: 32px;">
<path fill-rule="evenodd" d="M6 8V1h1v6.117L8.743 6.07a.5.5 0 0 1 .514 0L11 7.117V1h1v7a.5.5 0 0 1-.757.429L9 7.083 6.757 8.43A.5.5 0 0 1 6 8z"></path>
<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"></path>
<path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"></path>
</svg><span class="mx-2">GM Tools</span></a></div>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -28,6 +28,13 @@ server {
# This application is simply proxy-passed without any authentication # This application is simply proxy-passed without any authentication
index index.html index.htm; 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; include /etc/nginx/conf.d/apps-enabled/*.conf;