sanbo110 commited on
Commit
8fdbbec
·
1 Parent(s): 22f2d41

update sth at 2025-10-16 15:36:09

Browse files
Files changed (1) hide show
  1. deploy/nginx.conf.example +2 -2
deploy/nginx.conf.example CHANGED
@@ -100,7 +100,7 @@ server {
100
  # Example 4: Load balancing with multiple backend instances
101
  upstream ai2api_backend {
102
  # Round-robin by default
103
- server 127.0.0.1:8080;
104
  server 127.0.0.1:8081;
105
  server 127.0.0.1:8082;
106
 
@@ -148,7 +148,7 @@ server {
148
  #
149
  # 4. For Docker deployments, make sure to:
150
  # - Add ROOT_PATH to docker-compose.yml environment variables
151
- # - Expose the container port (8080 by default)
152
  #
153
  # 5. Common issues:
154
  # - 404 errors: Check that ROOT_PATH matches the Nginx location path exactly
 
100
  # Example 4: Load balancing with multiple backend instances
101
  upstream ai2api_backend {
102
  # Round-robin by default
103
+ server 127.0.0.1:7860;
104
  server 127.0.0.1:8081;
105
  server 127.0.0.1:8082;
106
 
 
148
  #
149
  # 4. For Docker deployments, make sure to:
150
  # - Add ROOT_PATH to docker-compose.yml environment variables
151
+ # - Expose the container port (7860 by default)
152
  #
153
  # 5. Common issues:
154
  # - 404 errors: Check that ROOT_PATH matches the Nginx location path exactly