代码拉取完成,页面将自动刷新
同步操作将从 OpenNJet/OpenNJet 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
user nginx;
worker_processes 1;
#daemon off;
#master_process off;
error_log /var/log/njet/error.log debug;
pid /usr/local/njet/njet.pid;
events {
worker_connections 1024;
}
http {
include /usr/local/njet/conf/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/njet/access.log main;
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
#gzip on;
resolver 114.114.114.114;
upstream ratings{
server 10.234.96.67:9080;
}
upstream reviews{
server 10.234.190.81:9080;
}
upstream productpage {
server 10.234.190.83:9080;
}
upstream details {
server 10.234.190.84:9080;
}
server {
resolver 114.114.114.114;
listen 8088;
server_name productpage productpage:9080;
location / {
proxy_pass http://productpage;
}
}
server {
resolver 114.114.114.114;
listen 8088;
server_name details details:9080;
location / {
proxy_pass http://details;
}
}
server {
resolver 114.114.114.114;
listen 8088;
server_name reviews reviews:9080;
location / {
proxy_pass http://reviews;
}
}
server {
resolver 114.114.114.114;
listen 8088;
server_name ratings ratings:9080;
location / {
proxy_pass http://ratings;
}
}
server {
resolver 114.114.114.114;
listen 8088 default_server;
location / {
proxy_pass http://$http_host$request_uri;
}
}
}
stream {
upstream server_http {
server 127.0.0.1:8088;
}
map $preread_proto $upstream {
"http" server_http;
"https" $njtmesh_dest;
"tcp" $njtmesh_dest;
"udp" $njtmesh_dest;
default $njtmesh_dest;
}
server {
listen 15001;
proxy_pass $upstream;
njtmesh_dest on;
}
server {
listen 15006;
proxy_pass $njtmesh_dest;
proxy_bind 127.0.0.6;
njtmesh_dest on;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。