In this configuration there are two locations: one for the static files such as images, css and js documents, and one with the `proxy_pass` that points at the internal port where the application is listening for updates.
In this configuration there are two locations: one for the static files such as images, css and js documents, and one with the `proxy_pass` that points at the internal port where the application is listening for updates.
Note that the alias path `/var/www/pad-bis/static/` could differ depending on where you cloned the repository. In this case, the repo was cloned in the `/var/www/pad-bis` directory. So adjust your config accordingly.
Another important aspect to take into account is the port where to redirect the user's request. In this case is `3147`, but any available port is good. This is the same port you define in the `.env` file!
Another important aspect to take into account is the port where to redirect the user's request. In this case is `3147`, but any available port is good. This is the same port you define in the `.env` file!
As previously said in a server a lot of things are going on at the same time, so in order no to make a mess with free and occupied ports sometimes is nice to adopt a strategy that helps developers choose a good one. In the situation of the Soupboat, we keep an incremental comment in the config file that suggest what port to use next.
As previously said in a server a lot of things are going on at the same time, so in order no to make a mess with free and occupied ports sometimes is nice to adopt a strategy that helps developers choose a good one. In the situation of the Soupboat, we keep an incremental comment in the config file that suggest what port to use next.