# התקנת Discourse עצמאית ובעיות בשימוש בכתובת IP נפרדת?

**URL:** <https://meta.discourse.org/t/standalone-discourse-install-issues-and-how-to-use-a-separate-ip-address/206111>\
**Category:** Self-hosting\
**Created:** [15 באוקטובר,‏ 2021,‏ 2:29am UTC](https://meta.discourse.org/t/standalone-discourse-install-issues-and-how-to-use-a-separate-ip-address/206111 "2021-10-15T02:29:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mzya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mzya/32/196585_2.png) [@mzya](https://meta.discourse.org/u/mzya)\
**Post date:** [15 באוקטובר,‏ 2021,‏ 2:29am UTC](https://meta.discourse.org/t/standalone-discourse-install-issues-and-how-to-use-a-separate-ip-address/206111/1 "2021-10-15T02:29:20Z")

</div>

I’ve been trying to figure out how to install discourse alongside my other Nginx sites, however, I continue get this message upon setup:

```plaintext
WARNING: Port 443 of computer does not appear to be accessible using hostname: lush.gg.
WARNING: Connection to http://<domain> (port 80) also fails.

```

I made sure Cloudflare was NOT proxying the ip address. I am also using a secondary ip address that is attached to the server, there is already a Nginx website on the first one.

updated app.yml

```plaintext
templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.socketed.template.yml"
## Uncomment these two lines if you wish to add Lets Encrypt (https)
#- "templates/web.ssl.template.yml"
#- "templates/web.letsencrypt.ssl.template.yml"

## which TCP/IP ports should this container expose?
## If you want Discourse to share a port with another webserver like Apache or nginx,
## see https://meta.discourse.org/t/17247 for details
#expose:
#- "25654:80" # http
#- "443:443" # https

```

updated nginx conf

```plaintext
server {
    listen <ip address>:80; listen [::]:80;
    server_name <domain>; # <-- change this

    return 301 https://$host$request_uri;
}

server {
    listen <ip address>:443 ssl http2; listen [::]:443 ssl http2;
    server_name <domain>; # <-- change this

    ssl_certificate /data/web/discourse/shared/standalone/ssl/fullchain.pem;
    ssl_certificate_key /data/web/discourse/shared/standalone/ssl/privkey.pem;
    ssl_dhparam /data/web/discourse/shared/standalone/ssl/dhparams.pem;
    ssl_session_tickets off;
    # removed from post: ssl_ciphers ...

    http2_idle_timeout 5m; # up from 3m default
    client_max_body_size 0;

    location / {
        proxy_pass http://unix:/data/web/discourse/shared/standalone/nginx.http.sock:;
        proxy_set_header Host $http_host;
        proxy_http_version 1.1;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto https;
        proxy_set_header X-Real-IP $remote_addr;
    }
}

```

What am I doing wrong?

---

_[View the full topic](https://meta.discourse.org/t/standalone-discourse-install-issues-and-how-to-use-a-separate-ip-address/206111)._
