Skip to content

Configuration file

Daniel-Alessandros Atack edited this page Jun 6, 2022 · 57 revisions

Syntax

Tables Arguments Scope Purpose
server_name = string ; server
host = string ; server
port = int ; server
index = string ... ; server, location
root string ; server, location
error_pages int ... = string server, location
read_timeout = int ; server
client_header_size = int ; server
server_body_size = int ; server
body_max_size = int ; server
methods = string ... ; location
rewrite string string ; location
auto_index bool ; location
cgi_enable bool ; location
cgi_extension = string ... ; location
cgi_timeout = int ; location
send_file bool ; location
file_limit = int ; location

Clone this wiki locally