| 
									
										
										
										
											2020-02-03 13:25:51 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-18 18:27:26 +01:00
										 |  |  | .. _searxng morty:
 | 
					
						
							| 
									
										
										
										
											2020-02-03 13:25:51 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-12-12 19:20:56 +01:00
										 |  |  | =========================
 | 
					
						
							| 
									
										
										
										
											2017-08-08 15:19:02 +02:00
										 |  |  | How to setup result proxy
 | 
					
						
							|  |  |  | =========================
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-09 15:04:23 +02:00
										 |  |  | .. sidebar:: further reading
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |    - :ref:`morty.sh`
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-12-12 19:20:56 +01:00
										 |  |  | .. _morty: https://github.com/asciimoo/morty
 | 
					
						
							|  |  |  | .. _morty's README: https://github.com/asciimoo/morty
 | 
					
						
							| 
									
										
										
										
											2017-08-08 15:19:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-12 08:36:56 +02:00
										 |  |  | By default SearXNG can only act as an image proxy for result images, but it is
 | 
					
						
							| 
									
										
										
										
											2019-12-12 19:20:56 +01:00
										 |  |  | possible to proxify all the result URLs with an external service, morty_.
 | 
					
						
							| 
									
										
										
										
											2017-08-08 15:19:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-18 18:27:26 +01:00
										 |  |  | To use this feature, morty has to be installed and activated in SearXNG's
 | 
					
						
							| 
									
										
										
										
											2021-01-27 09:58:06 +01:00
										 |  |  | ``settings.yml``.  Add the following snippet to your ``settings.yml`` and
 | 
					
						
							|  |  |  | restart searx:
 | 
					
						
							| 
									
										
										
										
											2017-08-08 15:19:02 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | .. code:: yaml
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     result_proxy:
 | 
					
						
							|  |  |  |         url : http://127.0.0.1:3000/
 | 
					
						
							| 
									
										
										
										
											2021-01-27 09:58:06 +01:00
										 |  |  |         key : !!binary "insert_your_morty_proxy_key_here"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Note that the example above (``http://127.0.0.1:3000``) is only for single-user
 | 
					
						
							|  |  |  | instances without a HTTP proxy.  If your morty service is public, the url is the
 | 
					
						
							|  |  |  | address of the reverse proxy (e.g ``https://example.org/morty``).
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-12 08:36:56 +02:00
										 |  |  | For more information about *result proxy* have a look at *"SearXNG via filtron
 | 
					
						
							| 
									
										
										
										
											2021-11-18 18:27:26 +01:00
										 |  |  | plus morty"* in the :ref:`nginx <nginx searxng via filtron plus morty>` and
 | 
					
						
							|  |  |  | :ref:`apache <apache searxng via filtron plus morty>` sections.
 | 
					
						
							| 
									
										
										
										
											2017-08-08 15:19:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-12-12 19:20:56 +01:00
										 |  |  | ``url``
 | 
					
						
							|  |  |  |   Is the address of the running morty service.
 | 
					
						
							| 
									
										
										
										
											2017-08-08 15:19:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-12-12 19:20:56 +01:00
										 |  |  | ``key``
 | 
					
						
							|  |  |  |   Is an optional argument, see `morty's README`_ for more information.
 |