like, my nginx config isn't weird or anything
# garage s3
server {
listen 443 ssl;
listen [::]:443 ssl;
ssl_certificate /etc/letsencrypt/live/s3.chloes.website/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/s3.chloes.website/privkey.pem;
# You need multiple server names here:
# - s3.garage.tld is used for path-based s3 requests
# - *.s3.garage.tld is used for vhost-based s3 requests
server_name s3.chloes.website;
location / {
proxy_pass http://10.0.0.25:3900;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
add_header 'Access-Control-Allow-Origin' 'https://photos.ente.chloes.website' always;
add_header 'Access-Control-Allow-Methods' '*' always;
# add_header 'Vary' 'Origin' always;
add_header 'Access-Control-Allow-Headers' '*' always;
# add_header 'Access-Control-Allow-Headers' 'Content-Type,X-Amz-Algorithm,X-Amz-Credential,X-Amz-Date,X-AMZ-Expires,X-Amz-SignedHeaders,X-Amz-Signature,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range,Etag' always;
# if ($request_method = 'OPTIONS') {
# add_header 'Access-Control-Max-Age' 86400;
# add_header 'Content-Type' 'text/plain; charset=utf-8';
# add_header 'Content-Length' 0;
# return 204;
# }
# Disable buffering to a temporary file.
proxy_max_temp_file_size 0;
}
}
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Chloe (chloe@catwithaclari.net)'s status on Sunday, 22-Feb-2026 05:04:10 JST
Chloe