MD
Size: a a a
AM
MD
Y
k
location /api/v1/users {
proxy_pass http://app_users_v1:3000/;
}
СЛ
events {
worker_connections 1024;
}
http {
access_log /dev/stdout;
server {
listen 82;
server_name example.com;
client_max_body_size 1m;
proxy_read_timeout 60s;
include /etc/nginx/conf.d/*.conf;
location / {
proxy_pass http://geth-rinkeby/:63116;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Host $host;
# Do not pass Authorization header to destination
proxy_set_header Authorization "";
}
}
}
СЛ