ES
Size: a a a
ES
h
ES
ES
ES
ES
ES
h
h
ES
AM
AM
СЛ
h
h
СЛ
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
server {
listen 80;
server_name localhost;
location /api/v1/api-doc/ {
proxy_pass http://api-doc:3009;
}
location /api/v1/identity/ {
proxy_pass http://identity:3000;
}
location /api/v1/profile/ {
proxy_pass http://profile:3001;
}
location /api/v1/static/ {
proxy_pass http://static:3002;
}
location /api/v1/proxy/ {
proxy_pass http://proxy:3003;
}
}
h
СЛ