Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Configuration for pixel wars
Browse files Browse the repository at this point in the history
  • Loading branch information
Naapperas committed Mar 28, 2023
1 parent fc0c641 commit 43efc7e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployments/project-configs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ project_docker_flags[nijobs-be---develop]='-v /home/ni/niployments/deployments/v
project_port[nijobs-locations---main]=4012
project_dotenv_location[nijobs-locations---main]='/home/ni/niployments/deployments/env-files/nijobs-locations/main/.env'

## pixel wars
project_port[pixel-wars---main]=4018
project_docker_flags[pixel-wars---develop]='--network=redis_network --env REDIS_SERVER=pixelwarsRedis'

project_port[pixel-wars--main]=4018

# debug example:
# project_dotenv_location[nijobs-be---develop]='/home/miguel/Coding/NIAEFEUP/niployments/deployments/env-files/nijobs-be/develop/.env.local'
Expand Down
9 changes: 9 additions & 0 deletions server-configs/apache/config-modules/routing.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,18 @@ ProxyPass /nijobs/locations http://localhost:4012
ProxyPass /nijobs/api http://localhost:4010
ProxyPass /nijobs http://localhost:4001

<<<<<<< Updated upstream
ProxyPass /pixelwars http://localhost:4018
ProxyPassReverse /pixelwars/api/subscribe http://localhost:4018/api/subscribe

||||||| Stash base
=======
ProxyPass /pixelwars/api/subscribe ws://localhost:4018/api/subscribe
ProxyPass /pixelwars http://localhost:4018

ProxyPassReverseCookieDomain "localhost" "ni.fe.up.pt"

>>>>>>> Stashed changes
ProxyPass / http://localhost:3000/

ProxyPass /st4g1ng http://localhost:3001/

0 comments on commit 43efc7e

Please sign in to comment.