server {
  listen 443 ssl http2;
  listen [::]:443 ssl http2;
  server_name gnusocial.hatthieves.es;
  client_max_body_size 2G;
  return 301 https://mastodon.madrid$request_uri;
#  location / {
#     proxy_pass http://172.132.0.101:80;
#     proxy_set_header X-Real-IP $remote_addr;
#     proxy_set_header Host $host;
#     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#     proxy_set_header X-Forwarded-Proto $scheme;
#     proxy_set_header Upgrade $http_upgrade;
#     proxy_set_header Connection "Upgrade";
#     proxy_buffering off;
#     proxy_http_version 1.1;
#  }
}

