HTTPS Setup mit Docker, Nginx und Let's Encrypt
This commit is contained in:
3
app/Dockerfile
Normal file
3
app/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM nginx:alpine
|
||||
COPY . /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
24
app/index.html
Normal file
24
app/index.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet" />
|
||||
<title>Snake Game</title>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<script src="script.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="scores">
|
||||
<h1 id="score">000</h1>
|
||||
<h1 id="highScore">000</h1>
|
||||
</div>
|
||||
<div id="game-board"></div>
|
||||
<h1 id="instruction-text">Press spacebar or tap to start the game</h1>
|
||||
<img id="logo" src="snake-game-ai-gen.png" alt="snake-logo" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user