feat: add bucket website

This commit is contained in:
VC
2024-07-05 11:53:36 +02:00
parent 4b1c13d9e0
commit 8c474bb414
6 changed files with 19 additions and 14 deletions

View File

@@ -1,14 +0,0 @@
server {
{% include './templates/header.conf.j2' %}
location / {
proxy_pass http://web_backend_{{ item.split('.')|join('_') }};
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
}
}
upstream web_backend_{{ item.split('.')|join('_') }} {
# If you have a garage instance locally.
server [::1]:3902;
}

View File

@@ -0,0 +1 @@
web.garage.mateu.be.conf.j2

View File

@@ -0,0 +1 @@
garage.mateu.be.conf.j2

View File

@@ -0,0 +1 @@
garage.mateu.be.conf.j2

View File

@@ -0,0 +1 @@
web.garage.mateu.be.conf.j2

View File

@@ -0,0 +1 @@
web.garage.mateu.be.conf.j2

View File

@@ -0,0 +1,14 @@
server {
{% include './templates/header.conf.j2' %}
location / {
proxy_pass http://web_backend_{{ item.split('.')|join('_') }};
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
}
}
upstream web_backend_{{ item.split('.')|join('_') }} {
# If you have a garage instance locally.
server [::1]:3902;
}