diff --git a/html/index.html b/html/index.html deleted file mode 100644 index 06201dd..0000000 --- a/html/index.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - Nginx Demo - - - -
-

Tervetuloa Nginx Demo -sivustolle!

-

- Tämä on yksinkertainen demo-sivu, joka on hostattu - Nginx-palvelimella. -

-
- - diff --git a/html/index.php b/html/index.php new file mode 100644 index 0000000..ee949c1 --- /dev/null +++ b/html/index.php @@ -0,0 +1,27 @@ + + + + + + Nginx PHP Demo + + + +
+

Welcome to Nginx PHP Demo!

+ $greeting! The current time is " . + date("Y-m-d H:i:s") . + "

"; + ?> +

This is a simple demo page hosted on an Nginx server using PHP.

+
+ + diff --git a/html/styles.css b/html/styles.css index e69de29..efcd393 100644 --- a/html/styles.css +++ b/html/styles.css @@ -0,0 +1,18 @@ +body { + font-family: Arial, sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background-color: #f4f4f4; +} + +.container { + width: 80%; + margin: auto; + overflow: hidden; + padding: 20px; +} + +h1 { + color: #333; +} diff --git a/nginx/nginx.conf b/nginx/default similarity index 100% rename from nginx/nginx.conf rename to nginx/default