23 lines
		
	
	
		
			747 B
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			747 B
		
	
	
	
		
			Plaintext
		
	
	
| server {
 | |
|     listen 3000 ssl http2;
 | |
|     listen [::]:3000 ssl http2;
 | |
| 
 | |
| 
 | |
|     ssl_certificate /opt/opengnsys/ogcore/etc/nginx/certs/ogcore.uds-test.net.crt.pem;
 | |
|     ssl_certificate_key /opt/opengnsys/ogcore/etc/nginx/certs/ogcore.uds-test.net.key.pem;
 | |
| 
 | |
|     location / {
 | |
|         proxy_pass http://localhost:3001/;
 | |
|         proxy_read_timeout 24h;
 | |
|         proxy_http_version 1.1;
 | |
|         proxy_set_header Connection "";
 | |
| 
 | |
|         # Enable fast reply in SSE
 | |
|         proxy_buffering off;
 | |
| 
 | |
|         ## Be sure to set USE_FORWARDED_HEADERS=1 to allow the hub to use those headers ##
 | |
|         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 | |
|         proxy_set_header X-Forwarded-Host $host;
 | |
|         proxy_set_header X-Forwarded-Proto $scheme;
 | |
|     }
 | |
| } |