diff --git a/roles/nginx/templates/vhosts/garage.mateu.be.conf.j2 b/roles/nginx/templates/vhosts/garage.mateu.be.conf.j2 index 948e661..be00bd0 100644 --- a/roles/nginx/templates/vhosts/garage.mateu.be.conf.j2 +++ b/roles/nginx/templates/vhosts/garage.mateu.be.conf.j2 @@ -1,16 +1,16 @@ server { {% include './templates/header.conf.j2' %} - location / { - proxy_pass http://s3_backend; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $host; - # Disable buffering to a temporary file. - proxy_max_temp_file_size 0; - } + location / { + proxy_pass http://s3_backend; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $host; + # Disable buffering to a temporary file. + proxy_max_temp_file_size 0; + } } upstream s3_backend { - # If you have a garage instance locally. - server [::1]:3900; + # If you have a garage instance locally. + server [::1]:3900; }