fix: port web 8085 zajety na hoscie -> 8086
All checks were successful
deploy / deploy (push) Successful in 2m34s
All checks were successful
deploy / deploy (push) Successful in 2m34s
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Push do `main` uruchamia `.gitea/workflows/deploy.yml` na runnerze Gitea
|
||||
(z zamontowanym `docker.sock`). Runner buduje obrazy z `docker-compose.prod.yml`
|
||||
i robi `up -d` na demonie Dockera serwera. Serwis `web` (nginx) słucha na
|
||||
`127.0.0.1:8085`, `api` (NestJS) wewnętrznie + diagnostycznie na `127.0.0.1:3105`.
|
||||
`127.0.0.1:8086`, `api` (NestJS) wewnętrznie + diagnostycznie na `127.0.0.1:3105`.
|
||||
|
||||
## Reverse proxy (Apache) — jednorazowo na serwerze
|
||||
Plik `/etc/apache2/sites-available/videodownloader.naurecki.pl.conf`:
|
||||
@@ -15,8 +15,8 @@ Plik `/etc/apache2/sites-available/videodownloader.naurecki.pl.conf`:
|
||||
ProxyPreserveHost On
|
||||
ProxyRequests Off
|
||||
# SSE (log na żywo) wymaga flushowania pakietów
|
||||
ProxyPass / http://127.0.0.1:8085/ flushpackets=on
|
||||
ProxyPassReverse / http://127.0.0.1:8085/
|
||||
ProxyPass / http://127.0.0.1:8086/ flushpackets=on
|
||||
ProxyPassReverse / http://127.0.0.1:8086/
|
||||
ErrorLog ${APACHE_LOG_DIR}/videodownloader-error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/videodownloader-access.log combined
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user