tete2soja / staytus

💡 An open source solution for publishing the status of your services
http://staytus.co
MIT License
2 stars 1 forks source link

SMTP Configuración Please Help! #33

Open JoseMariani opened 3 months ago

JoseMariani commented 3 months ago

In the example file, it appears that the port and the other numerical values must be in single quotes, and the password and user must be without.

The issue is that when configuring SMTP, copying the example, changing the name, and maintaining that the staytus user is the owner of the file...

I put it like this:

` GNU nano 6.2 environment.yml

Staytus environment configuration. Staytus uses

unix environment variables to provide its configuration.

If your hosting environment does not support setting this

easily, you can add them to config/environment.yml and

they will be loaded when the application starts.

The theme to use

STAYTUS_THEME: 'default'

If enabled, the application will allow any username/password

combination to login to the admin area.

STAYTUS_DEMO: '0'

Configure an SMTP server for sending messages. If you don't

configure an SMTP service, e-mail will be sent using sendmail.

STAYTUS_SMTP_HOSTNAME: smtp.url.com STAYTUS_SMTP_PORT: 25025 STAYTUS_SMTP_USERNAME: myusername STAYTUS_SMTP_PASSWORD: 'mypassword343'

Configure SSL to be forced (ensuring HSTS headers are sent and cookies are all secure)

FORCE_SSL: 1`

and the moment I do it, the website gives 502 and is in nginx, I enabled SSL with letsEncript.

tete2soja commented 2 months ago

Thank you for the feedback. I will look into it as soon as I can and tell you back what I found.