Dhis2 and nginx

Hello Team.
I had configured DHIS2 on ubuntu server and I don’t want my clients to use
[ ] on their browsers.
Please what is the necessary configuration i should do if i want to them to just access the instance through the ip address?
Kindly note I am using apache-tomcat.
Please I need urgent help.

Hi @Kenyuri,
if you want your clients to access dhis2 through the IP address, Where the address [ ] is coming from? Is it the machine actual network address? Where and how it is configured to allow users to use it to access dhis2? What is the current Nginx configuration?.
the dhis2 instance is supposed to be accessible through the machine IP address after installation if there are no firewall rules preventing it?

The address [] is the machine’s actual network address.
Here is the NGNIX config

http {
  gzip on; # Enables compression, incl Web API content-types
    "application/json;charset=utf-8" application/json
    "application/javascript;charset=utf-8" application/javascript text/javascript
    "application/xml;charset=utf-8" application/xml text/xml
    "text/css;charset=utf-8" text/css
    "text/plain;charset=utf-8" text/plain;

  server {
    listen               80;
    root  /home/dhis/tomcat/webapps/ROOT; # Update path!
    client_max_body_size 10M;

    # Serve static files

    location ~ (\.js|\.css|\.gif|\.woff|\.ttf|\.eot|\.ico|(/dhis-web-commons/|/images/|/icons/).*\.png)$ {
      add_header  Cache-Control public;
      expires     14d;

    # Proxy pass to servlet container

    location / {
      proxy_pass                http://localhost:8080/;
      proxy_redirect            off;
      proxy_set_header          Host               $host;
      proxy_set_header          X-Real-IP          $remote_addr;
      proxy_set_header          X-Forwarded-For    $proxy_add_x_forwarded_for;
      proxy_set_header          X-Forwarded-Proto  http;
      proxy_buffer_size         128k;
      proxy_buffers             8 128k;
      proxy_busy_buffers_size   256k;

I have followed this steps buts its not working
Home - DHIS2 Documentation

This is my server.xml

<Connector address="localhost" protocol="HTTP/1.1"
    		relaxedQueryChars="[]" />
        <!-- A "Connector" using the shared thread pool-->