---
name: "sxfcgi.conf"
section: "5"
platform: "linux"
package: "sx"
version: "2.0+ds-4+b1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/sxfcgi.conf"
---

# sxfcgi.conf(5)

configuration file for sx.fcgi

## NAME

sxfcgi.conf - configuration file for sx.fcgi

## DESCRIPTION

The file contains configuration options for [**sx.fcgi**(8)](/sx.fcgi/8.md)

## OPTIONS

When a given option is not present in the configuration file, a default setting will be used.

- **foreground**

  If this option is set, sx.fcgi will not daemonize.

- **socket** *SOCKET*

  Set socket for connection with httpd.

- **socket-mode** *MODE*

  Set socket mode to MODE (octal number; unix sockets only).

- **data-dir** *PATH*

  Path to the local storage directory.

- **logfile** *FILE*

  Write all log information to FILE.

- **pidfile** *FILE*

  Write process ID to FILE.

- **ssl\_ca** *FILE*

  Path to SSL CA certificate.

- **children** *N*

  Start N children processes. The default is 32 - the value can be decreased if the server doesn't handle large amount of connections in order to limit memory usage.

- **run-as** *user\[:group\]*

  Run as a specified user and group.

- **debug**

  Enable debug messages

- **gc-interval** *SECONDS*

  Set how ofteh to run the garbage collector, the default value is 3600 seconds (1 hour).

## FILES

/usr/etc/sxserver/sxfcgi.conf

## FURTHER DOCUMENTATION

Full documentation with additional examples available at: \<http://www.skylable.com/docs/\>

## SEE ALSO

[**sx.fcgi**(8)](/sx.fcgi/8.md), [**sxadm**(8)](/sxadm/8.md), [**sxsetup**(8)](/sxsetup/8.md)
