GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
cutelystd4-qt6(1) FreeBSD General Commands Manual cutelystd4-qt6(1)

cutelystd4-qt6 - Fast, developer friendly WSGI server for Cutelyst applications.

cutelystd4-qt6 [OPTIONS]

cutelystd4-qt6 is a developer friendly WSGI server for Cutelyst applications that can either be used as standalone HTTP server or as a gateway between your Cutelyst application and another webserver like Apache or nginx. It supports HTTP, HTTPS, HTTP/2 and FastCGI sockets.

Output a usage message and exit
Output the version number of cutelystd4-qt6 and exit.

Path to the application file to load.
Automatically restart when the application file changes. Requires that master process (--master) and lazy mode (--lazy) are enabled.
Create pid file (before privileges drop).
Create pid file (after privileges drop).
Stop an instance identified by pidfile.

Change to the specified directory before the application loads.
Change to the specified directory after the application has been loaded.
Map mountpoint to local path to serve static files. The mountpoint will be removed from the request path and the rest will be appended to the local path to find the file to serve. Can be used multiple times.

If for example defining a static map /assets=/path/to/static and then getting a request for /assets/css/style.css, the Server will remove /assets from the request path and appends the rest to the local path for that mountpoint. In the end it will try to find the requested file locally at /path/to/static/css/style.css.

Like static-map but completely appending the request path to the local path. Can be used multiple times.

If for example defining a static map /assets=/path/to/static and then getting a request for /assets/css/style.css, the Server will append the complete request path to the local path and will try to find the requested file there. In this example the Server would search locally at /path/to/static/assets/css/style.css for the requested file.

Load configuration from ini file. When used multiple times, content will be merged and same keys in the sections will be overwritten by content from later files.
Load configuration from JSON file. When used multiple times, content will be merged and same keys in the sections will be overwritten by content from later files.
Reload the application if the specified file is modified/touched. Requires that master process (--master) and lazy mode (--lazy) are enabled. Can be used multiple times.

Enable master process.
Set lazy mode (load application in workers instead of master).
Spawn the specified number of processes. If set to “auto”, the ideal process count is used.
Number of threads to use. If set to “auto”, the ideal thread count is used.
Set CPU affinity with the number of CPUs available for each worker core.
Balances new connections to threads using round-robin.

Bind to the specified TCP socket using HTTP protocol. To bind to all interfaces, simply only provide the port. Can be used multiple times to add multiple sockets.
Defines if an HTTP/1 connection set with --h1 can be upgraded to H2C (HTTP 2 Clear Text).
Bind to the specified TCP socket using HTTPS protocol. This expects a comma separated list of options. address is optional, if omitted, will bind to all interfaces. certPath is the full path to the TLS certificate in PEM format. keyPath is the full path to the private TLS key in PEM. The optional last part algorithm can be either rsa or ec. If omitted, rsa will be used as defaut. Can be used multiple times to add multiple sockets.
Defines if HTTPS socket set with --hs1 should use ALPN to negotiate HTTP/2.
Bind to the specified TCP socket using HTTP/2 Clear Text only protocol. To bind to all interfaces, simply only provide the port. Can be used multiple times to add multiple sockets.
Set the HTTP2 header table size. Default value: 4096.
Bind to the specified UNIX/TCP socket using FastCGI protocol. Can be used multiple times to add multiple sockets.
Set the LOCAL socket access, such as 'ugo' standing for User, Group, Other access.
Chown UNIX sockets.
Enable SO_REUSEPORT flag on socket(7) (Linux 3.9+).
Set internal sockets timeout in seconds. Default value: 4.
Set the socket listen queue size. Default value: 100.
Defines if a reverse proxy operates in front of this application server. If enabled, parses the HTTP headers X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Proto and uses this info to update Cutelyst::EngineRequest.

Setuid to the specified user/uid.
Setgid to the specified group/gid.
Disable additional groups set via initgroups().
Set file creation mask. See also umask(2).

Enable TCP NODELAY on each request.
Enable TCP KEEPALIVEs.

Set internal buffer size in bytes. Default value: 4096.
Sets the size in bytes after which buffering takes place on the hard disk instead of in the main memory. Default value: -1.
Set buffer size in bytes for read() in post buffering mode. Default value: 4096.
Set the socket send buffer size in bytes at the OS level. This maps to the SO_RCVBUF socket(7) option.
Set the socket receive buffer size in bytes at the OS level. This maps to the SO_RCVBUF socket(7) option.
Maximum allowed payload size for websocket in kibibytes. Default value: 1024 KiB.

0 on success and 1 if something failed.

File bug reports to the issue system of the GitHub project.

cutelystd4-qt6 -M -a /path/to/cutelystapp.so --h1 localhost:3000 --ini /path/to/appconfig.ini

cutelystd4-qt6 -M -a /path/to/cutelystapp.so --hs1 :3000,/path/to/cert.pem,/path/to/rsakey.pem --https-h2

cutelystd4-qt6 -M -a /path/to/cutelystapp.so --fastcgi-socket /run/cutelystapp.sock --chown-socket myuser:www --socket-access ug --uid myuser

cutelystd4-qt6 -M -a /path/to/cutelystapp.so --fastcgi-socket /run/cutelystapp.sock --pidfile /run/cutelystapp.pid

cutelystd4-qt6 --stop /run/cutelystapp.pid

cutelyst4-qt6(1)

2023-11-29 cutelystd4-qt6 4.7.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.