From 627b5c1ff7b6856f1b83da5b6d1acd5cf597b266 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 23 Jul 2023 22:31:37 -0600 Subject: add new built files --- live/blog/a/website_with_nginx.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'live/blog/a/website_with_nginx.html') diff --git a/live/blog/a/website_with_nginx.html b/live/blog/a/website_with_nginx.html index 7bf2472..7a5b24f 100644 --- a/live/blog/a/website_with_nginx.html +++ b/live/blog/a/website_with_nginx.html @@ -120,8 +120,8 @@ systemctl enable nginx.service systemctl start nginx.service

And that’s it, at this point you can already look at the default initial page of Nginx if you enter the IP of your server in a web browser. You should see something like this:

-
-Nginx welcome page +
+Nginx welcome page
Nginx welcome page

As stated in the welcome page, configuration is needed, head to the directory of Nginx:

@@ -187,8 +187,8 @@ cd sites-available systemctl restart nginx

If everything goes correctly, you can now go to your website by typing domain.name on a web browser. But you will see a “404 Not Found” page like the following (maybe with different Nginx version):

-
-Nginx 404 Not Found page +
+Nginx 404 Not Found page
Nginx 404 Not Found page

That’s no problem, because it means that the web server it’s actually working. Just add an index.html file with something simple to see it in action (in the /var/www/some_folder that you decided upon). If you keep seeing the 404 page make sure your root line is correct and that the directory/index file exists.

@@ -243,7 +243,7 @@ systemctl restart nginx