mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	FCGI: Allow FCGI over unix sockets (#9298)
* FCGI: Allow FCGI over unix sockets * fixup! FCGI: Allow FCGI over unix sockets
This commit is contained in:
		@@ -140,7 +140,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
 | 
			
		||||
 | 
			
		||||
## Server (`server`)
 | 
			
		||||
 | 
			
		||||
- `PROTOCOL`: **http**: \[http, https, fcgi, unix\]
 | 
			
		||||
- `PROTOCOL`: **http**: \[http, https, fcgi, unix, fcgi+unix\]
 | 
			
		||||
- `DOMAIN`: **localhost**: Domain name of this server.
 | 
			
		||||
- `ROOT_URL`: **%(PROTOCOL)s://%(DOMAIN)s:%(HTTP\_PORT)s/**:
 | 
			
		||||
   Overwrite the automatically generated public URL.
 | 
			
		||||
@@ -155,7 +155,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
 | 
			
		||||
- `HTTP_ADDR`: **0.0.0.0**: HTTP listen address.
 | 
			
		||||
   - If `PROTOCOL` is set to `fcgi`, Gitea will listen for FastCGI requests on TCP socket
 | 
			
		||||
     defined by `HTTP_ADDR` and `HTTP_PORT` configuration settings.
 | 
			
		||||
   - If `PROTOCOL` is set to `unix`, this should be the name of the Unix socket file to use.
 | 
			
		||||
   - If `PROTOCOL` is set to `unix` or `fcgi+unix`, this should be the name of the Unix socket file to use.
 | 
			
		||||
- `HTTP_PORT`: **3000**: HTTP listen port.
 | 
			
		||||
   - If `PROTOCOL` is set to `fcgi`, Gitea will listen for FastCGI requests on TCP socket
 | 
			
		||||
     defined by `HTTP_ADDR` and `HTTP_PORT` configuration settings.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user