From 9a2a3b68f4d473f5764646df307cd33b0a4c49b6 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Wed, 21 Jun 2023 02:52:14 -0600 Subject: move images to different location --- src/blog/a/website_with_nginx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/blog/a/website_with_nginx.md') diff --git a/src/blog/a/website_with_nginx.md b/src/blog/a/website_with_nginx.md index d4a5402..e3846cf 100644 --- a/src/blog/a/website_with_nginx.md +++ b/src/blog/a/website_with_nginx.md @@ -41,7 +41,7 @@ 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](${SURL}/images/b/notes/nginx/nginx_welcome_page.png "Nginx welcome page") +![Nginx welcome page](${SURL}/images/b/nginx/nginx_welcome_page.png "Nginx welcome page") As stated in the welcome page, configuration is needed, head to the directory of Nginx: @@ -126,7 +126,7 @@ 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](${SURL}/images/b/notes/nginx/nginx_404_page.png "Nginx 404 Not Found page") +![Nginx 404 Not Found page](${SURL}/images/b/nginx/nginx_404_page.png "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. -- cgit v1.2.3-54-g00ecf