Skip to content
Snippets Groups Projects
Commit ac74ce39 authored by Michael Loipführer's avatar Michael Loipführer
Browse files

add index.html, split up sites

parent c6101eef
No related branches found
No related tags found
No related merge requests found
server {
listen 80;
server_name lustmolch.stusta.de;
charset utf-8;
location / {
alias /var/www/html;
}
}
server {
listen 80;
server_name lustmolch.stusta.de;
charset utf-8;
location / {
rewrite ^(.*)$ /www/data/index.html;
}
}
server { server {
listen 80; listen 80;
...@@ -20,4 +10,4 @@ server { ...@@ -20,4 +10,4 @@ server {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} }
} }
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Lustmolch</title>
</head>
<body>
<h1>THIS IS LUSTMOLCH</h1>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment