С
Size: a a a
AY
AY
AY
AY
AY
AY
AY
DZ
DZ
СЛ
user nginx;
worker_processes ##WORKER_PROCESSES##;
error_log /dev/stdout info;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
access_log /dev/stdout;
server {
listen ##PORT##;
server_name ##SERVER_NAME##;
client_max_body_size ##CLIENT_MAX_BODY_SIZE##;
proxy_read_timeout ##PROXY_READ_TIMEOUT##;
include /etc/nginx/conf.d/*.conf;
location / {
proxy_pass http://geth-rinkeby:63116;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_set_header X-Forwarded-Host $host;
# Do not pass Authorization header to destination
proxy_set_header Authorization "";
}
}
server {
listen 8090;
location /nginx_status {
stub_status on;
access_log off;
}
}
server {
listen 81;
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:63115;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_set_header X-Forwarded-Host $host;
# Do not pass Authorization header to destination
proxy_set_header Authorization "";
}
}
}
t
user nginx;
worker_processes ##WORKER_PROCESSES##;
error_log /dev/stdout info;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
access_log /dev/stdout;
server {
listen ##PORT##;
server_name ##SERVER_NAME##;
client_max_body_size ##CLIENT_MAX_BODY_SIZE##;
proxy_read_timeout ##PROXY_READ_TIMEOUT##;
include /etc/nginx/conf.d/*.conf;
location / {
proxy_pass http://geth-rinkeby:63116;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_set_header X-Forwarded-Host $host;
# Do not pass Authorization header to destination
proxy_set_header Authorization "";
}
}
server {
listen 8090;
location /nginx_status {
stub_status on;
access_log off;
}
}
server {
listen 81;
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:63115;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_set_header X-Forwarded-Host $host;
# Do not pass Authorization header to destination
proxy_set_header Authorization "";
}
}
}
СЛ
СЛ
IR