I have a local n8n installed on a server with Windows Server 2012 R2, and when I try to access it from a machine within my network using ip:port
is showing the following error:
"Your n8n server is configured to use a secure cookie,
however, you are visiting this via an insecure URL
To fix this, consider the following options:
Configure TLS/HTTPS (recommended) or
If you are running this locally, try using localhost
If you prefer to disable this security feature (not recommended), set the N8N_SECURE_COOKIE environment variable to false"
So I wanted to know if I really need to put TLS/HTTPS inside a local server (a server that I will only use within my network)
and about the second option of disabling N8N_SECURE_COOKIE I don’t know how to do it
It looks like you have found the option, So you would need to set the environment variable to false, This can be set however you would normally set them. For me on Mac / Linux it would be export N8N_SECURE_COOKIE=false but For Windows it could be the set command for a dos terminal or whever the powershell version of that is. You could also add it as an option in the system properties, It may be worth looking at using Docker instead of npm as this is generally easier to use and configure.