# How to view nginx log inside Discourse?

**URL:** <https://meta.discourse.org/t/how-to-view-nginx-log-inside-discourse/208743>\
**Category:** Self-hosting\
**Created:** [November 10, 2021, 3:17am UTC](https://meta.discourse.org/t/how-to-view-nginx-log-inside-discourse/208743 "2021-11-10T03:17:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hokod](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hokod/32/239410_2.png) [@hokod](https://meta.discourse.org/u/hokod)\
**Post date:** [November 10, 2021, 3:17am UTC](https://meta.discourse.org/t/how-to-view-nginx-log-inside-discourse/208743/1 "2021-11-10T03:17:11Z")

</div>

How to view nginx log on Centos (docker)?

I get 502, 504 Nginx Gateway errors, so I want to see nginx log.  
Can you tell me command line, how to view nginx log on Centos (docker)?

---

_[View the full topic](https://meta.discourse.org/t/how-to-view-nginx-log-inside-discourse/208743)._
