wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6947e19ca9 
							
						 
					 
					
						
						
							
							ops: Tweak nginx cache config  
						
						
						
						
					 
					
						2024-06-03 18:21:14 +09:00 
						 
				 
			
				
					
						
							
							
								Mononaut 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1cdb38af0b 
							
						 
					 
					
						
						
							
							Fix nginx caching for customize.js resource  
						
						
						
						
					 
					
						2024-05-13 16:57:14 +00:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d2f7864266 
							
						 
					 
					
						
						
							
							ops: Don't serve stale cache data for non-mainnet (2/2)  
						
						
						
						
					 
					
						2024-05-10 01:14:51 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							659ef0b6b9 
							
						 
					 
					
						
						
							
							ops: Don't serve stale cache data for non-mainnet  
						
						
						
						
					 
					
						2024-05-10 00:44:53 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f80c99576b 
							
						 
					 
					
						
						
							
							ops: Update prod scripts for testnet4  
						
						
						
						
					 
					
						2024-05-07 01:01:09 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cfb1e1d908 
							
						 
					 
					
						
						
							
							ops: Remove nginx config for bisq  
						
						
						
						
					 
					
						2024-04-01 19:00:37 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9e5fdbb64a 
							
						 
					 
					
						
						
							
							ops: Increase nginx proxy buffer sizes  
						
						
						
						
					 
					
						2024-03-06 16:04:30 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e918e1fdab 
							
						 
					 
					
						
						
							
							ops: Implement ACL for internal APIs  
						
						
						
						
					 
					
						2024-02-27 11:46:14 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f004705896 
							
						 
					 
					
						
						
							
							ops: Add missing HTTP Expires header for fees API  
						
						
						
						
					 
					
						2024-02-06 13:55:44 -05:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							87a613e4dc 
							
						 
					 
					
						
						
							
							ops: Fix broken nginx cache configuration  
						
						
						
						
					 
					
						2024-02-06 13:53:03 -05:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5a7a78cddc 
							
						 
					 
					
						
						
							
							ops: Add new nginx hot cacher  
						
						
						
						
					 
					
						2024-01-26 10:40:21 -05:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c7862e19c2 
							
						 
					 
					
						
						
							
							ops: Add /api/v1/fees/recommended to warm cache  
						
						
						
						
					 
					
						2024-01-26 10:26:42 -05:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2ca6dc51da 
							
						 
					 
					
						
						
							
							ops: Increase nginx proxy_read_timeout to 2m  
						
						
						
						
					 
					
						2024-01-13 12:22:38 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							07f9410d45 
							
						 
					 
					
						
						
							
							ops: Fix elements unix socket path  
						
						
						
						
					 
					
						2023-12-21 05:05:59 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2c820f1cc0 
							
						 
					 
					
						
						
							
							ops: Rewrite nginx config for new services API endpoints  
						
						
						
						
					 
					
						2023-11-18 15:09:02 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4070492584 
							
						 
					 
					
						
						
							
							ops: Set nginx to ignore Pragma header for no-cache endpoints  
						
						
						
						
					 
					
						2023-11-18 13:22:17 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							82a43e25e0 
							
						 
					 
					
						
						
							
							ops: Set nginx no-cache headers for /api/v1/services/auth  
						
						
						
						
					 
					
						2023-11-18 12:40:39 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5e45d8f3bc 
							
						 
					 
					
						
						
							
							ops: Set nginx no-cache headers for /api/v1/services/account  
						
						
						
						
					 
					
						2023-11-18 12:20:18 +09:00 
						 
				 
			
				
					
						
							
							
								junderw 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4972f00a96 
							
						 
					 
					
						
						
							
							Add internal endpoint blocking to all Nginx configs  
						
						
						
						
					 
					
						2023-11-12 05:04:41 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan Underwood 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							502a1c021e 
							
						 
					 
					
						
						
							
							Add suggestions from wiz  
						
						... 
						
						
						
						Co-authored-by: wiz <j@wiz.biz> 
						
						
					 
					
						2023-11-12 05:04:41 +00:00 
						 
				 
			
				
					
						
							
							
								junderw 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							511b827bf5 
							
						 
					 
					
						
						
							
							Nginx: Ignore all internal-api paths  
						
						
						
						
					 
					
						2023-11-12 05:04:40 +00:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							feed25b641 
							
						 
					 
					
						
						
							
							Merge branch 'master' into ops/nginx-buffer-size  
						
						
						
						
					 
					
						2023-09-27 12:10:25 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce3b599bab 
							
						 
					 
					
						
						
							
							ops: Add /api/v1/services route for new backend  
						
						
						
						
					 
					
						2023-08-31 02:36:22 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b180fe694f 
							
						 
					 
					
						
						
							
							ops: Tweak nginx config for gone paths and render expires  
						
						
						
						
					 
					
						2023-08-23 01:09:11 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8e73e76312 
							
						 
					 
					
						
						
							
							ops: Tweak proxy_cache_valid time for unfurler/slurper cache  
						
						
						
						
					 
					
						2023-08-20 02:36:34 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9d978ead6d 
							
						 
					 
					
						
						
							
							ops: Set expires headers for unfurler/slurper responses  
						
						
						
						
					 
					
						2023-08-20 00:01:22 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							655eb31107 
							
						 
					 
					
						
						
							
							ops: Tweak nginx cache valid time for unfurler/slurper  
						
						
						
						
					 
					
						2023-08-19 23:27:08 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							65847547b9 
							
						 
					 
					
						
						
							
							ops: Tweak nginx cache for slurper  
						
						
						
						
					 
					
						2023-08-19 23:23:28 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							83a92a7e3a 
							
						 
					 
					
						
						
							
							ops: Add nginx config for /unfurler and /slurper prefixes  
						
						
						
						
					 
					
						2023-08-16 03:27:09 +09:00 
						 
				 
			
				
					
						
							
							
								Stephan Oeste 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fc73dcc344 
							
						 
					 
					
						
						
							
							Fixing proxy_buffer_size error nginx.conf  
						
						
						
						
					 
					
						2023-08-07 20:08:30 +02:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							39bde61538 
							
						 
					 
					
						
						
							
							ops: Set cache time for /api/v1 endpoints to 2 sec  
						
						
						
						
					 
					
						2023-06-16 17:15:41 -07:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ef3ce6d187 
							
						 
					 
					
						
						
							
							Merge pull request  #3799  from Emzy/ops/nginx-json-match  
						
						
						
						
					 
					
						2023-05-25 14:58:45 -03:00 
						 
				 
			
				
					
						
							
							
								Stephan Oeste 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ad4c7d7c0b 
							
						 
					 
					
						
						
							
							Fix exact match of .js files. Was also matching .json before.  
						
						
						
						
					 
					
						2023-05-25 16:50:56 +02:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7970f4ae88 
							
						 
					 
					
						
						
							
							ops: Use unix sockets to query esplora from nginx  
						
						
						
						
					 
					
						2023-03-13 16:35:27 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ead7a13ff0 
							
						 
					 
					
						
						
							
							i18n: Enable Danish, disable Catalan  
						
						
						
						
					 
					
						2023-03-08 21:14:46 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8adacd4a0e 
							
						 
					 
					
						
						
							
							ops: Add missing unfurl route in nginx/server-common.conf  
						
						
						
						
					 
					
						2023-03-08 16:14:43 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5fb4eac4b7 
							
						 
					 
					
						
						
							
							ops: Add missing /api/address-prefix nginx route for bisq  
						
						
						
						
					 
					
						2023-03-04 15:53:49 +09:00 
						 
				 
			
				
					
						
							
							
								softsimon 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fbbd86d8e0 
							
						 
					 
					
						
						
							
							Updating nginx to support lithuanian  
						
						
						
						
					 
					
						2022-12-26 22:45:25 +04:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a9e766046f 
							
						 
					 
					
						
						
							
							[ops] Increase nginx max concurrent streams  
						
						
						
						
					 
					
						2022-11-30 18:10:47 +09:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e08902b85b 
							
						 
					 
					
						
						
							
							Fix nginx redirects for /liquid etc.  
						
						
						
						
					 
					
						2022-11-23 14:09:54 +09:00 
						 
				 
			
				
					
						
							
							
								Felipe Knorr Kuhn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81d35d9401 
							
						 
					 
					
						
						
							
							Update nginx cache settings for the frontend config files  
						
						
						
						
					 
					
						2022-10-15 19:44:34 -07:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							22def9b01c 
							
						 
					 
					
						
						
							
							frontend: Don't copy resources to language dirs  
						
						... 
						
						
						
						Since 355e89ce5, the frontend references resources via root-relative URLs.
This means that `resources` dirs in the language dirs are no longer
accessed and can be removed.
Achieve this by defining a specific `assets` production config that
doesn't include `src/resources`.
As of fd35c8f4a, this shrinks the frontend size by 55% (279M -> 124M).
Also, the nginx location configs now can be simplified. 
						
						
					 
					
						2022-09-09 14:42:55 +02:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4a2c35c81b 
							
						 
					 
					
						
						
							
							[ops] Add missing unfurl nginx route  
						
						
						
						
					 
					
						2022-08-30 16:50:31 +02:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							004dcebc19 
							
						 
					 
					
						
						
							
							[ops] Add nginx entrypoints for unfurler daemon  
						
						
						
						
					 
					
						2022-08-27 14:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bba9f2608a 
							
						 
					 
					
						
						
							
							[ops] Add nginx placeholders for unfurlbot configuration  
						
						
						
						
					 
					
						2022-08-27 13:55:30 +02:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							58b60c1f68 
							
						 
					 
					
						
						
							
							Route new APIs to services backend  
						
						
						
						
					 
					
						2022-07-21 18:07:28 +02:00 
						 
				 
			
				
					
						
							
							
								wiz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							92da3988da 
							
						 
					 
					
						
						
							
							Reduce nginx cache time for production homepage  
						
						
						
						
					 
					
						2022-07-18 17:47:33 -05:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81bc449043 
							
						 
					 
					
						
						
							
							nginx: Fix gixy test host_spoofing  
						
						... 
						
						
						
						This patch was generated by replacing:
`proxy_set_header Host $http_host` ->
`proxy_set_header Host $host`
Script:
find . -type f -exec sed -i 's|proxy_set_header Host \$http_host|proxy_set_header Host \$host|g' {} \;
Fixes test error:
```
>> Problem: [host_spoofing] The proxied Host header may be spoofed.
Description: In most cases "$host" variable are more appropriate, just use it.
Additional info: https://github.com/yandex/gixy/blob/master/docs/en/plugins/hostspoofing.md 
```
`proxy_set_header Host $host` is indeed the recommended default proxy header setting. 
						
						
					 
					
						2022-07-11 15:32:37 +02:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							eec82e1bf9 
							
						 
					 
					
						
						
							
							nginx: Fix gixy test http_splitting  
						
						... 
						
						
						
						Fixes test error:
```
>> Problem: [http_splitting] Possible HTTP-Splitting vulnerability.
Description: Using variables that can contain "\n" or "\r" may lead to http injection.
```
Summary: `$uri` should never be used in `return` statements.
See: https://github.com/yandex/gixy/blob/master/docs/en/plugins/httpsplitting.md 
In this case, `$uri` always equals `/`, so just replace it. 
						
						
					 
					
						2022-07-11 15:25:42 +02:00 
						 
				 
			
				
					
						
							
							
								Stephan Oeste 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eeb84e5d42 
							
						 
					 
					
						
						
							
							Installing Linux nginx config in prod install  
						
						
						
						
					 
					
						2022-07-07 21:09:00 +02:00