Testversion 1
This commit is contained in:
15
frontend/nginx/default.conf
Normal file
15
frontend/nginx/default.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
client_max_body_size 10M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://backend:8000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
@@ -2,10 +2,19 @@
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<title>Svenja & Dominic</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Wedding App</title>
|
||||
<style>
|
||||
body { font-family: system-ui, sans-serif; margin: 0; min-height: 100vh; display: grid; place-items: center; background: #f8f6f2; color: #1f1f1f; }
|
||||
main { text-align: center; padding: 24px; }
|
||||
a { display: inline-block; margin-top: 12px; padding: 10px 14px; border-radius: 10px; text-decoration: none; background: #274235; color: #fff; }
|
||||
</style>
|
||||
</head>
|
||||
<body style="font-family: system-ui; padding: 40px;">
|
||||
<h1>Hallo Welt 👋</h1>
|
||||
<body>
|
||||
<main>
|
||||
<h1>Svenja & Dominic</h1>
|
||||
<p>Nginx ist erreichbar. Die App läuft im Backend.</p>
|
||||
<a href="http://127.0.0.1:5000/">Zum Login</a>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user