mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	@@ -119,10 +119,13 @@ RUN_USER = ; git
 | 
				
			|||||||
;; Permission for unix socket
 | 
					;; Permission for unix socket
 | 
				
			||||||
;UNIX_SOCKET_PERMISSION = 666
 | 
					;UNIX_SOCKET_PERMISSION = 666
 | 
				
			||||||
;;
 | 
					;;
 | 
				
			||||||
;; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service.
 | 
					;; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service. In
 | 
				
			||||||
;; In most cases you do not need to change the default value.
 | 
					;; most cases you do not need to change the default value. Alter it only if
 | 
				
			||||||
;; Alter it only if your SSH server node is not the same as HTTP node.
 | 
					;; your SSH server node is not the same as HTTP node. For different protocol, the default
 | 
				
			||||||
;; Do not set this variable if PROTOCOL is set to 'unix'.
 | 
					;; values are different. If `PROTOCOL` is `http+unix`, the default value is `http://unix/`.
 | 
				
			||||||
 | 
					;; If `PROTOCOL` is `fcgi` or `fcgi+unix`, the default value is `%(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/`.
 | 
				
			||||||
 | 
					;; If listen on `0.0.0.0`, the default value is `%(PROTOCOL)s://localhost:%(HTTP_PORT)s/`, Otherwise the default
 | 
				
			||||||
 | 
					;; value is `%(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/`.
 | 
				
			||||||
;LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/
 | 
					;LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/
 | 
				
			||||||
;;
 | 
					;;
 | 
				
			||||||
;; When making local connections pass the PROXY protocol header.
 | 
					;; When making local connections pass the PROXY protocol header.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -314,8 +314,11 @@ The following configuration set `Content-Type: application/vnd.android.package-a
 | 
				
			|||||||
- `LOCAL_ROOT_URL`: **%(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/**: Local
 | 
					- `LOCAL_ROOT_URL`: **%(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/**: Local
 | 
				
			||||||
   (DMZ) URL for Gitea workers (such as SSH update) accessing web service. In
 | 
					   (DMZ) URL for Gitea workers (such as SSH update) accessing web service. In
 | 
				
			||||||
   most cases you do not need to change the default value. Alter it only if
 | 
					   most cases you do not need to change the default value. Alter it only if
 | 
				
			||||||
   your SSH server node is not the same as HTTP node. Do not set this variable
 | 
					   your SSH server node is not the same as HTTP node. For different protocol, the default
 | 
				
			||||||
   if `PROTOCOL` is set to `http+unix`.
 | 
					   values are different. If `PROTOCOL` is `http+unix`, the default value is `http://unix/`.
 | 
				
			||||||
 | 
					   If `PROTOCOL` is `fcgi` or `fcgi+unix`, the default value is `%(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/`.
 | 
				
			||||||
 | 
					   If listen on `0.0.0.0`, the default value is `%(PROTOCOL)s://localhost:%(HTTP_PORT)s/`, Otherwise the default
 | 
				
			||||||
 | 
					   value is `%(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/`.
 | 
				
			||||||
- `LOCAL_USE_PROXY_PROTOCOL`: **%(USE_PROXY_PROTOCOL)s**: When making local connections pass the PROXY protocol header.
 | 
					- `LOCAL_USE_PROXY_PROTOCOL`: **%(USE_PROXY_PROTOCOL)s**: When making local connections pass the PROXY protocol header.
 | 
				
			||||||
   This should be set to false if the local connection will go through the proxy.
 | 
					   This should be set to false if the local connection will go through the proxy.
 | 
				
			||||||
- `PER_WRITE_TIMEOUT`: **30s**: Timeout for any write to the connection. (Set to -1 to
 | 
					- `PER_WRITE_TIMEOUT`: **30s**: Timeout for any write to the connection. (Set to -1 to
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user