diff --git a/content/posts/time-to-deploy-our-static-blog.md b/content/posts/time-to-deploy-our-static-blog.md index 990d73a..248b68b 100644 --- a/content/posts/time-to-deploy-our-static-blog.md +++ b/content/posts/time-to-deploy-our-static-blog.md @@ -50,7 +50,7 @@ That's where [_nginx_](https://nginx.org/) comes into the picture. > generic TCP/UDP proxy server, originally written by Igor Sysoev. We can find an _nginx_ docker image on -[dockerhub](https://hub.docker.com/%5F/nginx). But, if we look around carefully +[dockerhub](https://hub.docker.com/_/nginx). But, if we look around carefully we can see a section that mentions "_running nginx as a non-root user_". This led me to a small discovery which made me look for an alternative of that image. @@ -68,7 +68,7 @@ variables_ we inject into the container. Let's look at an example configuration `default.conf.template`. -```conf +```cfg server { listen ${NGINX_BLOG_PORT}; @@ -185,12 +185,12 @@ And we're good to go. If we point our `/etc/hosts` to our site, we can test that everything works. -```conf +```cfg 192.168.0.1 blog.example.com ```
Note
+Note
Replace `192.168.0.1` with your public server's IP address. This is an example of an IP unroutable on the internet.