fix(): Hugo plugin in emacs updated the markdown file
This commit is contained in:
parent
4b3abf1bbf
commit
10fdf0cc0f
1 changed files with 4 additions and 4 deletions
|
@ -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.
|
> generic TCP/UDP proxy server, originally written by Igor Sysoev.
|
||||||
|
|
||||||
We can find an _nginx_ docker image on
|
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
|
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.
|
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`.
|
Let's look at an example configuration `default.conf.template`.
|
||||||
|
|
||||||
```conf
|
```cfg
|
||||||
server {
|
server {
|
||||||
|
|
||||||
listen ${NGINX_BLOG_PORT};
|
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.
|
If we point our `/etc/hosts` to our site, we can test that everything works.
|
||||||
|
|
||||||
```conf
|
```cfg
|
||||||
192.168.0.1 blog.example.com
|
192.168.0.1 blog.example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
<div class="admonition note">
|
<div class="admonition note">
|
||||||
<p class="admonition-title">Note</p>
|
<p class="admonition-title"><b>Note</b></p>
|
||||||
|
|
||||||
Replace `192.168.0.1` with your public server's IP address. This is an example
|
Replace `192.168.0.1` with your public server's IP address. This is an example
|
||||||
of an IP unroutable on the internet.
|
of an IP unroutable on the internet.
|
||||||
|
|
Loading…
Reference in a new issue