upgrade garage to v2.2.0, add /media/ proxy to nginx
This commit is contained in:
@@ -2,7 +2,7 @@ FROM alpine:3.21 AS base
|
||||
RUN apk add --no-cache gettext
|
||||
|
||||
FROM base
|
||||
COPY --from=dxflrs/garage:v1.0.1 /garage /garage
|
||||
COPY --from=dxflrs/garage:v2.2.0 /garage /garage
|
||||
COPY garage.toml /etc/garage.toml.tpl
|
||||
|
||||
CMD envsubst < /etc/garage.toml.tpl > /etc/garage.toml && exec /garage server
|
||||
|
||||
@@ -38,6 +38,11 @@ server {
|
||||
|
||||
add_header Strict-Transport-Security "max-age=63072000; preload" always;
|
||||
|
||||
location /media/ {
|
||||
proxy_pass http://garage:3902/;
|
||||
proxy_set_header Host haanmind.net.web.garage;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://haanmind_net:80;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@@ -38,6 +38,11 @@ server {
|
||||
|
||||
add_header Strict-Transport-Security "max-age=63072000; preload" always;
|
||||
|
||||
location /media/ {
|
||||
proxy_pass http://garage:3902/;
|
||||
proxy_set_header Host hantim.net.web.garage;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://hantim_net:80;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@@ -38,6 +38,11 @@ server {
|
||||
|
||||
add_header Strict-Transport-Security "max-age=63072000; preload" always;
|
||||
|
||||
location /media/ {
|
||||
proxy_pass http://garage:3902/;
|
||||
proxy_set_header Host hcsuzuki.net.web.garage;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://hcsuzuki_net:80;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@@ -38,6 +38,11 @@ server {
|
||||
|
||||
add_header Strict-Transport-Security "max-age=63072000; preload" always;
|
||||
|
||||
location /media/ {
|
||||
proxy_pass http://garage:3902/;
|
||||
proxy_set_header Host thekims.family.web.garage;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://thekims_family:80;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@@ -38,6 +38,11 @@ server {
|
||||
|
||||
add_header Strict-Transport-Security "max-age=63072000; preload" always;
|
||||
|
||||
location /media/ {
|
||||
proxy_pass http://garage:3902/;
|
||||
proxy_set_header Host timothykim.net.web.garage;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://timothykim_net:80;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user