summaryrefslogtreecommitdiff
path: root/src/blog/a/website_with_nginx.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/blog/a/website_with_nginx.md')
-rw-r--r--src/blog/a/website_with_nginx.md4
1 files changed, 2 insertions, 2 deletions
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.