Move Mastodon nginx to proxy/LB #452

Merged
greg merged 11 commits from feature/mastodon_nginx into master 2022-12-08 13:07:35 +00:00
Showing only changes of commit 83513dbd9d - Show all commits

View File

@ -9,8 +9,6 @@ upstream _ipfs_api {
<% end %>
}
limit_req_zone $binary_remote_addr zone=ipfsgateway:10m rate=10r/s;
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@ -21,7 +19,6 @@ server {
error_log /var/log/nginx/<%= @server_name %>.error.log;
location /ipfs {
limit_req zone=ipfsgateway burst=20 nodelay;
proxy_pass http://_ipfs_gateway/ipfs;
}