# Setting up libretime ssl with NGINX

**URL:** <https://discourse.libretime.org/t/setting-up-libretime-ssl-with-nginx/1317>\
**Category:** Uncategorized\
**Created:** [October 4, 2022, 6:28am UTC](https://discourse.libretime.org/t/setting-up-libretime-ssl-with-nginx/1317 "2022-10-04T06:28:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mudakikwa](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/mudakikwa/32/654_2.png) [@mudakikwa](https://discourse.libretime.org/u/mudakikwa)\
**Post date:** [October 4, 2022, 6:28am UTC](https://discourse.libretime.org/t/setting-up-libretime-ssl-with-nginx/1317/1 "2022-10-04T06:28:13Z")

</div>

Hello community I am having an issue getting SSL to work on my libertime environment I tried using NGINX configuration specified in libertime docs but they don’t seem to work on my side here is my configuration

```auto
server {
    listen 80;
    server_name radio.example.com;
    location / {
        rewrite ^ https://$server_name$request_uri? permanent;
    }
}

server {
    listen 443 ssl;
    server_name radio.example.com;

    ssl_certificate /etc/letsencrypt/live/radio.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/radio.example.com/privkey.pem;

    location / {
        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;
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Port $server_port;

        proxy_pass http://localhost:8080/;
    }
}

```

If you have an NGINX conf that works I would love to get help from you

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [October 4, 2022, 12:43pm UTC](https://discourse.libretime.org/t/setting-up-libretime-ssl-with-nginx/1317/2 "2022-10-04T12:43:40Z")

</div>

Hey, could you please provide more information, such as logs or system information. Otherwise we cannot be of any help.

> **[Troubleshooting | LibreTime](https://libretime.org/docs/admin-manual/troubleshooting/)**
>
> This guide walk you though the steps required to troubleshoot LibreTime.

---

<div class="post-metadata">

**Author:** ![mudakikwa](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/mudakikwa/32/654_2.png) [@mudakikwa](https://discourse.libretime.org/u/mudakikwa)\
**Post date:** [October 11, 2022, 7:56am UTC](https://discourse.libretime.org/t/setting-up-libretime-ssl-with-nginx/1317/3 "2022-10-11T07:56:16Z")

</div>

here are the status of the diagnosis

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/fff61ed406bad003e461c7cce3d70b5469651221.png)

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [October 12, 2022, 8:59am UTC](https://discourse.libretime.org/t/setting-up-libretime-ssl-with-nginx/1317/4 "2022-10-12T08:59:27Z")

</div>

> **[Troubleshooting | LibreTime](https://libretime.org/docs/admin-manual/troubleshooting/#logs)**
>
> This guide walk you though the steps required to troubleshoot LibreTime.
