This commit is contained in:
mrtaxi 2021-08-27 22:38:34 +10:00 committed by GitHub
commit ca47b26f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 6 deletions

View File

@ -1,7 +1,7 @@
server { server {
listen 80; listen 8088;
server_name localhost; server_name localhost;
#add this comment to file
#charset koi8-r; #charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main; #access_log /var/log/nginx/log/host.access.log main;
@ -41,4 +41,4 @@ server {
#location ~ /\.ht { #location ~ /\.ht {
# deny all; # deny all;
#} #}
} }

View File

@ -1,3 +1,11 @@
<h1>Hello World!</h1> <!DOCTYPE html>
<html>
<p>This is a simple static website being served from Nginx running inside a Docker container!</p> <body>
<h1>Hello World! Hello World!</h1>
<p style="color:blue";>This is a simple static website being served from Nginx running inside a Docker container!</p>
<script>
var date = document.lastModified;
document.write("Last Modified: "+date);
</script>
</body>
</html>