mirror of
				https://github.com/ijaric/voice_assistant.git
				synced 2025-10-30 23:43:25 +00:00 
			
		
		
		
	fix: nginx conf
This commit is contained in:
		
							parent
							
								
									8dead13cc2
								
							
						
					
					
						commit
						d85c3ec323
					
				|  | @ -5,12 +5,13 @@ events { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| http { | http { | ||||||
|  |   server_tokens off; | ||||||
|   include       mime.types; |   include       mime.types; | ||||||
|   log_format  main  '$remote_addr - $remote_user [$time_local] "$request" ' |   log_format  main  '$remote_addr - $remote_user [$time_local] "$request" ' | ||||||
|                       '$status $body_bytes_sent "$http_referer" ' |                       '$status $body_bytes_sent "$http_referer" ' | ||||||
|                       '"$http_user_agent" "$http_x_forwarded_for"'; |                       '"$http_user_agent" "$http_x_forwarded_for" "$request_id"'; | ||||||
| 
 | 
 | ||||||
|   server_tokens off; |   access_log /dev/stdout main; | ||||||
| 
 | 
 | ||||||
|   sendfile        on; |   sendfile        on; | ||||||
|   tcp_nodelay     on; |   tcp_nodelay     on; | ||||||
|  | @ -28,8 +29,11 @@ http { | ||||||
|         text/xml |         text/xml | ||||||
|         text/javascript; |         text/javascript; | ||||||
|    |    | ||||||
|  |   add_header X-Request-Id $request_id; | ||||||
|   proxy_redirect     off; |   proxy_redirect     off; | ||||||
|   proxy_set_header   Host             $host; |   proxy_set_header   Host             $host; | ||||||
|   proxy_set_header   X-Real-IP        $remote_addr; |   proxy_set_header   X-Real-IP        $remote_addr; | ||||||
|   proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for; |   proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for; | ||||||
|  | 
 | ||||||
|  |   include conf.d/api.conf; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user