| 
									
										
										
										
											2019-12-22 14:05:33 +01:00
										 |  |  | .. _architecture:
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ============
 | 
					
						
							|  |  |  | Architecture
 | 
					
						
							|  |  |  | ============
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-09 15:04:23 +02:00
										 |  |  | .. sidebar:: Further reading
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-18 18:27:26 +01:00
										 |  |  |    - Reverse Proxy: :ref:`Apache <apache searxng site>` & :ref:`nginx <nginx
 | 
					
						
							|  |  |  |      searxng site>`
 | 
					
						
							|  |  |  |    - uWSGI: :ref:`searxng uwsgi`
 | 
					
						
							|  |  |  |    - SearXNG: :ref:`installation basic`
 | 
					
						
							| 
									
										
										
										
											2019-12-22 14:05:33 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | Herein you will find some hints and suggestions about typical architectures of
 | 
					
						
							| 
									
										
										
										
											2021-09-12 08:36:56 +02:00
										 |  |  | SearXNG infrastructures.
 | 
					
						
							| 
									
										
										
										
											2019-12-22 14:05:33 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-14 10:02:50 +02:00
										 |  |  | .. _architecture uWSGI:
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | uWSGI Setup
 | 
					
						
							|  |  |  | ===========
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-21 14:48:46 +02:00
										 |  |  | We start with a *reference* setup for public SearXNG instances which can be build
 | 
					
						
							| 
									
										
										
										
											2022-06-14 10:02:50 +02:00
										 |  |  | up and maintained by the scripts from our :ref:`toolboxing`.
 | 
					
						
							| 
									
										
										
										
											2019-12-22 14:05:33 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | .. _arch public:
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .. kernel-figure:: arch_public.dot
 | 
					
						
							|  |  |  |    :alt: arch_public.dot
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-12 08:36:56 +02:00
										 |  |  |    Reference architecture of a public SearXNG setup.
 | 
					
						
							| 
									
										
										
										
											2022-06-14 10:02:50 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | The reference installation activates ``server.limiter``, ``server.image_proxy``
 | 
					
						
							|  |  |  | and ``ui.static_use_hash`` (:origin:`/etc/searxng/settings.yml
 | 
					
						
							|  |  |  | <utils/templates/etc/searxng/settings.yml>`)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .. literalinclude:: ../../utils/templates/etc/searxng/settings.yml
 | 
					
						
							|  |  |  |    :language: yaml
 | 
					
						
							|  |  |  |    :end-before: # preferences:
 |