23 lines
		
	
	
		
			583 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			583 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| server {
 | |
|     listen 443 ssl;
 | |
|     server_name redash.jennie.im;
 | |
| 
 | |
|     ssl_certificate /data/tengine/certificate/jennie.im.crt;
 | |
|     ssl_certificate_key /data/tengine/certificate/jennie.im.key;
 | |
|     ssl_protocols TLSv1.2 TLSv1.3;wq
 | |
|     ssl_ciphers HIGH:!aNULL:!MD5;
 | |
| 
 | |
|     location / {
 | |
|         proxy_pass   http://127.0.0.1:5000;
 | |
|         proxy_set_header Host $host;
 | |
|         proxy_set_header X-Real-IP $remote_addr;
 | |
|         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 | |
|     }
 | |
|  
 | |
|     error_page 500 502 503 504 /50x.html;
 | |
|     location = /50x.html {
 | |
|         root html;
 | |
|     }
 | |
| }
 | |
| 
 |