update: added ttt to nginx configuration

This commit is contained in:
Maieul BOYER 2025-12-22 14:56:39 +01:00
parent 54c8e35a8e
commit 6e4d0b7e59
No known key found for this signature in database
2 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,14 @@
#forward the post request to the microservice
location /api/ttt/ {
proxy_pass http://app-tic-tac-toe;
}
location /api/ttt/socket.io/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_read_timeout 3600s;
proxy_pass http://app-tic-tac-toe;
}