# Http and no https

**URL:** <https://community.n8n.io/t/http-and-no-https/118740>\
**Category:** Questions\
**Created:** [May 21, 2025, 9:21pm UTC](https://community.n8n.io/t/http-and-no-https/118740 "2025-05-21T21:21:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![basedpatrick](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/basedpatrick/32/83050_2.png) [@basedpatrick](https://community.n8n.io/u/basedpatrick)\
**Post date:** [May 21, 2025, 9:21pm UTC](https://community.n8n.io/t/http-and-no-https/118740/1 "2025-05-21T21:21:36Z")

</div>

why every url i have on n8n is in http and not in https, cause i only need https so i cant use anything like elevelabs can anyone help how to change url from http to https i use it from docker?

---

<div class="post-metadata">

**Author:** ![Markus\_Tratschitt](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/markus_tratschitt/32/58994_2.png) [@Markus\_Tratschitt](https://community.n8n.io/u/Markus_Tratschitt)\
**Post date:** [May 21, 2025, 9:33pm UTC](https://community.n8n.io/t/http-and-no-https/118740/2 "2025-05-21T21:33:52Z")

</div>

I think using a reverse proxy should solve the problem. like nginx

```bash
server {
    listen 443 ssl;
    server_name ur-domain.de;

    ssl_certificate /etc/letsencrypt/live/ur-domain.de/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/ur-domain.de/privkey.pem;

    location / {
        proxy_pass http://localhost:5678; # n8n in Docker-Container Port 5678
        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 $scheme;
    }
}

```

[Here you can get the certificates you need.](https://certbot.eff.org)

Set your environment correctly, so that https is used.

```bash
environment:
  - N8N_HOST=ur-domain.de
  - N8N_PROTOCOL=https
  - WEBHOOK_URL=https://ur-domain.de/

```

Here a small example for you docker-compose.yml

```yaml
services:
  n8n:
    image: n8nio/n8n
    restart: always
    ports:
      - "5678:5678"
    environment:
      - N8N_HOST=ur-domain.de
      - N8N_PROTOCOL=https
      - WEBHOOK_URL=https://ur-domain.de/
      # add more ENV-Vars here...

```

---

<div class="post-metadata">

**Author:** ![basedpatrick](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/basedpatrick/32/83050_2.png) [@basedpatrick](https://community.n8n.io/u/basedpatrick)\
**Post date:** [May 21, 2025, 9:56pm UTC](https://community.n8n.io/t/http-and-no-https/118740/3 "2025-05-21T21:56:46Z")

</div>

There’s no easier way to do this, and without it I would have to buy something else because it seems to work fine for everyone even with Docker.

---

<div class="post-metadata">

**Author:** ![King\_Samuel\_David](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/king_samuel_david/32/83690_2.png) [@King\_Samuel\_David](https://community.n8n.io/u/King_Samuel_David)\
**Post date:** [May 21, 2025, 11:37pm UTC](https://community.n8n.io/t/http-and-no-https/118740/4 "2025-05-21T23:37:18Z")

</div>

Me I use a cloudflare tunnel, others I see use ngrok, did you just setup without SSL,

Happy to help get setup if you’d like.

I can provide a copy and paste dockers, for cloudflare easiest setup tbh. or help with ngrok if needed. This will provide the SSL https for you, and allow to connect to different apps,

otherwise id highly recommend the cloud version because this is all managed normally etc, so you just signin with ure account or API.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [August 19, 2025, 11:38pm UTC](https://community.n8n.io/t/http-and-no-https/118740/5 "2025-08-19T23:38:03Z")

</div>

Closed on August 19, 2025, 11:38pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
