modified: main_dc/docker-compose.yml
modified: main_dc/nginx/nginx-ssl.conf change name on nginx ssh config to api_tp
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
upstream api {
|
||||
server api:8080;
|
||||
}
|
||||
|
||||
upstream api_bb {
|
||||
server api_bb:8080;
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name yalarba.ru www.yalarba.ru valitovgaziz.ru www.valitovgaziz.ru easysite102.ru www.easysite102.ru begushiybashkir.ru xn--80abahjtcfl5d0a8di.xn--p1ai;
|
||||
@@ -47,7 +38,7 @@ server {
|
||||
}
|
||||
# REST API
|
||||
location /api/ {
|
||||
proxy_pass http://api/;
|
||||
proxy_pass http://api_tp/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Reference in New Issue
Block a user