Hardware: VPS bought online YunoHost version: 11.2.9.1 I have access to my server : Through SSH Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no If your request is related to an app, specify its name and version:
I have been trying to add a custom session_timeout to /etc/ssowat/config.json.persistent but I’m getting NGINX errors after doing so
My persistent file looks as follows
{
‘session_timeout’ = ‘432000’,
}
Afterwards I restart nginx server and I get then fix error web page. Am I not formatting it properly?
yes sorry, I have been editing conf.json.persistent this whole time. I just tried again without the comma and it failed again. I did notice that when the comma is removed and rebuilding the ssowat it gave me some error details.
Error: Corrupted YAML read from /etc/ssowat/conf.json.persistent (reason: while parsing a flow mapping
in "<unicode string>", line 1, column 1:
{
^
expected ',' or '}', but got '<scalar>'
in "<unicode string>", line 2, column 19:
'session_timeout' = '432000'
^)
can you show to us your whole /etc/ssowat/conf.json.persistent please?
you can redact any non relevant info, but don’t remove any line or word (just replace a word by another word)
it’s to verify the glogal syntax