23 lines
		
	
	
		
			485 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			485 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| server {
 | |
|     listen       8080;
 | |
|     listen       [::]:8080;
 | |
|     server_name  _;
 | |
| 
 | |
|     root   /usr/share/nginx/html;
 | |
|     index  index.html;
 | |
| 
 | |
|     location / {
 | |
|         try_files $uri $uri/ /index.html;
 | |
|     }
 | |
| 
 | |
|     location ~* \.(?:js|css|svg|png|jpg|jpeg|gif|ico|woff2?)$ {
 | |
|         add_header Cache-Control "public, max-age=2592000";
 | |
|     }
 | |
| 
 | |
|     location = /healthz {
 | |
|         access_log off;
 | |
|         add_header Content-Type text/plain;
 | |
|         return 200 'ok';
 | |
|     }
 | |
| }
 |