# Nginx Error at testing stage

**URL:** <https://meta.discourse.org/t/nginx-error-at-testing-stage/82102>\
**Category:** Self-hosting\
**Created:** [March 3, 2018, 7:11am UTC](https://meta.discourse.org/t/nginx-error-at-testing-stage/82102 "2018-03-03T07:11:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Irwin\_Binamungu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/irwin_binamungu/32/88422_2.png) [@Irwin\_Binamungu](https://meta.discourse.org/u/Irwin_Binamungu)\
**Post date:** [March 3, 2018, 7:11am UTC](https://meta.discourse.org/t/nginx-error-at-testing-stage/82102/1 "2018-03-03T07:11:07Z")

</div>

[kirizagroup00001@localhost nginx]$ nginx -t  
nginx: [alert] could not open error log file: open() “/var/log/nginx/error.log” failed (13: Permission denied)  
2018/03/04 14:29:21 [warn] 2495#0: the “user” directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:5  
2018/03/04 14:29:21 [emerg] 2495#0: unknown directive “erver” in /etc/nginx/conf.d/discourse.conf:1  
nginx: configuration file /etc/nginx/nginx.conf test failed

Am I getting this error because I haven’t yet obtained a domain name for my discourse or is it an internal error?

> **[How to Install Discourse Forum with Nginx on CentOS 7](https://www.howtoforge.com/tutorial/how-to-install-and-configure-discourse-forum-with-nginx-on-centos-7/)**
>
> Discourse is a free and open source software for creating Internet forum community and mailing list. In this tutorial, we will show you step-by-step, ...

---

_[View the full topic](https://meta.discourse.org/t/nginx-error-at-testing-stage/82102)._
