Move styling into assets/styling as /css

This commit is contained in:
Raymonzut
2020-06-16 17:13:46 +02:00
parent ce4d17974b
commit fb5fc2ede2
3 changed files with 12 additions and 8 deletions
+5 -1
View File
@@ -20,8 +20,12 @@ http {
location / {
root /app;
index index.html;
try_files $uri $uri/ /index.html;
try_files $uri $uri/ $uri/index.html =404;
}
location /css {
alias /app/assets/styling;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
+6
View File
@@ -0,0 +1,6 @@
html, body{
padding: 0;
margin: 0;
width: 100%;
}
+1 -7
View File
@@ -5,13 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Raymon Zutekouw</title>
<style>
body, html {
padding: 0;
margin: 0;
width: 100%;
}
</style>
<link rel="stylesheet" href="css/index.css" media="all">
</head>
<body>
<noscript>