Session not set using Nginx reverse proxy with Express

I have an Express server with the following config: if (NODE_ENV === “production”) { app.set(“trust proxy”, 1); } app.use( session({ store: new SQLiteStore({ db: “database.sqlite”, concurrentDB: true }), secret: SESSION_SECRET!, resave: false, saveUninitialized: false, cookie: { domain: NODE_ENV === “production” ? “akira-bot.netlify.com” : “localhost”, secure: NODE_ENV === “production”, httpOnly: true } }) ); My Nginx…

Forwarding nxlogs from my Windows server to my centOs 7 server

I’m using AWS right now for hosting both servers. I’ve modified the security group for my centOs7 (receiver) to allow for TCP and UDP ports 514 ::/0. In my nxlog.conf in my Windows server, I have added… <Output out> Module om_tcp Host (private ip address of my centOS) Port 514 Exec file_write(‘%ROOT%\data\nxlog_output.log’, $raw_event + “\n”);…

Service failed to start because ernvironment variable is missing

I am trying to start Geoserver as a systemd service using this script: (using ubuntu 16.04) [Unit] Description=Geoserver After=network.target [Service] Type=simple ExecStart=/home/ermis/geoserver/bin/startup.sh ExecStop=/home/ermis/geoserver/bin/shutdown.sh User=ermis [Install] WantedBy=multi-user.target And I get this error in syslog systemd[1]: Starting Geoserver… startup.sh[21823]: The GEOSERVER_HOME environment variable is not defined systemd[1]: geoserver.service: Main process exited, code=exited, status=1/FAILURE startup.sh[21823]: This environment variable…