45 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| proxy_set_header Host              $host;
 | |
| proxy_set_header X-Real-IP         $remote_addr;
 | |
| proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
 | |
| proxy_set_header X-Forwarded-Proto $scheme;
 | |
| proxy_redirect                     off;
 | |
| 
 | |
| add_header X-Cache-Status $upstream_cache_status always;
 | |
| 
 | |
| location = /healthz {
 | |
|     default_type application/json;
 | |
|     return 200 '{"status":"ok"}';
 | |
| }
 | |
| 
 | |
| location /concelier/exports/ {
 | |
|     proxy_pass http://concelier_backend/concelier/exports/;
 | |
|     proxy_cache mirror_cache;
 | |
|     proxy_cache_key $mirror_cache_key;
 | |
|     proxy_cache_valid 200 5m;
 | |
|     proxy_cache_valid 404 1m;
 | |
|     add_header Cache-Control "public, max-age=300, immutable" always;
 | |
| }
 | |
| 
 | |
| location /concelier/ {
 | |
|     proxy_pass http://concelier_backend/concelier/;
 | |
|     proxy_cache off;
 | |
| }
 | |
| 
 | |
| location /excititor/mirror/ {
 | |
|     proxy_pass http://excititor_backend/excititor/mirror/;
 | |
|     proxy_cache mirror_cache;
 | |
|     proxy_cache_key $mirror_cache_key;
 | |
|     proxy_cache_valid 200 5m;
 | |
|     proxy_cache_valid 404 1m;
 | |
|     add_header Cache-Control "public, max-age=300, immutable" always;
 | |
| }
 | |
| 
 | |
| location /excititor/ {
 | |
|     proxy_pass http://excititor_backend/excititor/;
 | |
|     proxy_cache off;
 | |
| }
 | |
| 
 | |
| location / {
 | |
|     return 404;
 | |
| }
 |