feat: rename service to galo, add halo branding and release build
- rename Go module, binary, systemd unit, PG_DATABASE default, frontend package and docs from shared-album to galo - add theme-aware halo emblem and favicon (new ui-branding capability) - add make build-release (versioned, stripped, static binary) and run the binary from the repo root
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Пример nginx-конфигурации перед Go-бэкендом.
|
||||
# Для SSE критично proxy_buffering off, иначе события буферизуются и не доходят.
|
||||
|
||||
upstream shared_album {
|
||||
upstream galo {
|
||||
server 127.0.0.1:8080;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ server {
|
||||
client_max_body_size 60m;
|
||||
|
||||
location /api/sse/ {
|
||||
proxy_pass http://shared_album;
|
||||
proxy_pass http://galo;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
proxy_buffering off; # иначе SSE буферизуется
|
||||
@@ -22,7 +22,7 @@ server {
|
||||
}
|
||||
|
||||
location /api/objects/ {
|
||||
proxy_pass http://shared_album;
|
||||
proxy_pass http://galo;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_buffering off; # стриминг объектов без буферизации
|
||||
@@ -30,7 +30,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://shared_album;
|
||||
proxy_pass http://galo;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
Reference in New Issue
Block a user