Add link on homepage, tweak NGINX config

This commit is contained in:
Alex Thomassen 2023-10-16 15:21:42 +00:00
parent ea391d47ec
commit 16d3027a16
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
2 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,8 @@ server {
set_real_ip_from 10.0.0.0/8;
real_ip_header X-Real-IP;
location ~ \.docker {
# Deny access to hidden files/folders
location ~ /\. {
deny all;
}

View File

@ -30,6 +30,8 @@
<img class="hidden" id="preview" src="">
<a href="https://git.je/Alex/DiplomGenerator">Code can be found here</a>
<script>
const form = document.getElementById('form');
form.addEventListener('submit', function(e) {