You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
456 B
14 lines
456 B
server{
|
|
listen 8888;
|
|
access_log /var/log/nginx/jsj2025.com_access.log;
|
|
error_log /var/log/nginx/jsj2025.com_error.log;
|
|
# 用户中心
|
|
location ~ /usercenter/ {
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header REMOTE-HOST $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_pass http://backend:8080;
|
|
}
|
|
|
|
}
|