Skip to content

Instantly share code, notes, and snippets.

@jerinisready
Last active December 16, 2019 06:21
Show Gist options
  • Save jerinisready/a796e3f7a365b9dcca8e603b7d57ee81 to your computer and use it in GitHub Desktop.
Save jerinisready/a796e3f7a365b9dcca8e603b7d57ee81 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<title> Jerinisready | Custom Template | Inspired From W3Schools </title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<style>
body,h1,h2{font-family: "Raleway", sans-serif}body, html {height: 100%}
.bgimg {min-height: 100%;background-image: url("https://www.w3schools.com/w3images/wedding_couple.jpg");background-position: center;background-size:cover;}
</style>
<body>
<!-- Header / Home-->
<header class="w3-display-container w3-wide bgimg w3-grayscale-min">
<div class="w3-display-middle w3-text-white w3-center">
<h1 class="w3-jumbo">Simple Wep Page</h1>
<h2>Hosted on Nginx </h2>
<h2><b id="date"></b></h2>
<script>
(function(el){
setInterval(function(){
el.innerHTML = new Date()
},1000);
})(document.querySelector('#date'))
</script>
</div>
</header>
</body>
</html>
user www-data www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
gzip on;
gzip_disable "msie6";
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*.conf;
}

This gist holds the basic code snippets for my blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment