refactor: fix typo
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
server {
|
server {
|
||||||
{% include './templates/header.conf.j2' %}
|
{% include './templates/header.conf.j2' %}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://s3_backend;
|
proxy_pass http://s3_backend;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
# Disable buffering to a temporary file.
|
# Disable buffering to a temporary file.
|
||||||
proxy_max_temp_file_size 0;
|
proxy_max_temp_file_size 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream s3_backend {
|
upstream s3_backend {
|
||||||
# If you have a garage instance locally.
|
# If you have a garage instance locally.
|
||||||
server [::1]:3900;
|
server [::1]:3900;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user