diff --git a/doc/settings/nginx.md b/doc/settings/nginx.md
index 0d64d09e5ad44ac3e32432edb79c405ec748adce_ZG9jL3NldHRpbmdzL25naW54Lm1k..588ec58028c715c514cf6c31fc95fa86ccf575d3_ZG9jL3NldHRpbmdzL25naW54Lm1k 100644
--- a/doc/settings/nginx.md
+++ b/doc/settings/nginx.md
@@ -1009,7 +1009,7 @@
    sudo gitlab-ctl hup nginx
    ```
 
-## `502: Bad Gateway` when SELinux and external NGINX are used
+### `502: Bad Gateway` when SELinux and external NGINX are used
 
 On Linux servers with SELinux enabled, after setting up an external NGINX, the error `502: Bad Gateway` may be observed when accessing the GitLab UI. You can also see the error in NGINX's logs: