2016-12-18 4 views

答えて

0

私はそれはラメですけど、私はこのラインでnginxの下で実行することができる午前:

nohupをSBT -Djline.terminal = jline.UnsupportedTerminal &

、これらの場所のマッピングを実行します。

location /notifications/ { 
    proxy_pass  http://127.0.0.1:12345; 
    proxy_set_header X-Real-IP $remote_addr; 
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
    proxy_set_header Host $http_host; 
} 

location /atm/ { 
    proxy_pass  http://127.0.0.1:8080; 
    proxy_http_version 1.1; 
    proxy_set_header Upgrade $http_upgrade; 
    proxy_set_header Connection "upgrade"; 
} 

location /frontend/ { 
    proxy_pass  http://127.0.0.1:12345; 
    proxy_set_header X-Real-IP $remote_addr; 
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
    proxy_set_header Host $http_host; 
} 

location/{ 
    proxy_pass  http://0.0.0.0:8080; 
    proxy_set_header X-Real-IP $remote_addr; 
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
    proxy_set_header Host $http_host; 
}