Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / General

Caddy https

Caddy https

Wekan / General · April 6, 2020 at 5:17pm

Dear all, Need a little help running wekan in production. Installed wekan via the snapd method on ubuntu 18. Followed the following:

https://github.com/wekan/wekan-snap/wiki/Install

On step 8 and 9, I installed caddy and get root@dai2:/home/ubuntu# snap services Service Startup Current Notes wekan.caddy enabled active - wekan.mongodb enabled active - wekan.wekan enabled active -

My caddyfile looks like (xxx to mask IP address) https://128.122.xxx.xxx { tls { alpn http/1.1 } proxy / localhost:3001 { websocket transparent } }

Do I need to take extra steps to use https? if so what are those? because I get

This site can’t provide a secure connection128.122.xxx.xxx sent an invalid response. ERR_SSL_PROTOCOL_ERROR

many thanks for help

Load previous messages

April 7, 2020 at 8:32am

If you don't need SSL/HTTPS, then it's not needed to use Caddy

    • reply
    • like

    In that case you can: sudo snap set caddy-enabled='false'

      • reply
      • like

      and sudo snap set wekan port='80'

        • reply
        • like

        For my servers, I use https://www.cloudflare.com/ SSL and nameservers

          • reply
          • like

          Info about CloudFlare settings is here https://github.com/wekan/wekan/wiki/Caddy-Webserver-Config

            • reply
            • like

            because from CloudFlare there is wildcard SSL for about 15 years and nameserver web interface for free

              • reply
              • like

              it's better than Let's Encrypt for me, because I had problems activating Let's Encrypt on those servers

                • reply
                • like

                although, on some other webservers Let's Encrypt has worked fine

                  • reply
                  • like

                  You get list of all Wekan settings at server bash like this: wekan.help | less

                    • reply
                    • like

                    less paginates long results

                      • reply
                      • like