File size: 813 Bytes
62109e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
server {
    listen 3000 default_server;
    listen [::]:3000 default_server;
    
    root /usr/share/nginx/html;
    index index.html index.htm;

    server_name _;
    location / {
        # serve OHIF 3000
        proxy_pass http://localhost:80;
        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_set_header    X-Forwarded-Proto   http;
        proxy_set_header    X-Forwarded-Ssl     off;
        proxy_set_header    X-Url-Scheme        http;
        proxy_buffering     off;
        proxy_http_version  1.1;
        proxy_set_header    Upgrade $http_upgrade;
        proxy_set_header    Connection  "upgrade";
    }
}