Open JoseMariani opened 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_THEME: 'default'
STAYTUS_DEMO: '0'
STAYTUS_SMTP_HOSTNAME: smtp.url.com STAYTUS_SMTP_PORT: 25025 STAYTUS_SMTP_USERNAME: myusername STAYTUS_SMTP_PASSWORD: 'mypassword343'
FORCE_SSL: 1`
and the moment I do it, the website gives 502 and is in nginx, I enabled SSL with letsEncript.
Thank you for the feedback. I will look into it as soon as I can and tell you back what I found.
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.