From 6cc67e3e04e35b820f2d7799eb9b7609f0ba44c0 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sat, 29 Jun 2024 14:39:15 +0200 Subject: [PATCH] developer: infrastructure: no specifics in Forgejo nginx example --- docs/developer/infrastructure.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/developer/infrastructure.md b/docs/developer/infrastructure.md index e049a7ba..2a5f0f40 100644 --- a/docs/developer/infrastructure.md +++ b/docs/developer/infrastructure.md @@ -83,20 +83,12 @@ server { server_name example.com; location / { - deny 47.76.209.138; # crawler that does not obey robots.txt - deny 47.76.99.127; # crawler that does not obey robots.txt proxy_pass http://A.B.C.D:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; client_max_body_size 2G; - # - # http://nginx.org/en/docs/http/websocket.html - # - proxy_set_header Connection $http_connection; - proxy_set_header Upgrade $http_upgrade; - include proxy_params; } } ```