Skip to content

Commit

Permalink
updated nginx settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jahangir091 committed Nov 20, 2023
1 parent 137c4b4 commit d7ead56
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nginx_settings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ server {
proxy_read_timeout 60;
proxy_connect_timeout 60;
proxy_redirect off;
}

# Allow the use of websockets
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
location /api/ai {
proxy_pass http://127.0.0.1:8004/sdapi/ai;
proxy_read_timeout 60;
proxy_connect_timeout 60;
proxy_redirect off;
}

}

0 comments on commit d7ead56

Please sign in to comment.