]> Untitled Git - lemmy.git/blobdiff - ansible/templates/nginx.conf
Proxy pictrs requests through Lemmy (fixes #371) (#77)
[lemmy.git] / ansible / templates / nginx.conf
index 4f66292c367a4d2d382bde702c7f1bc815a36021..092f855203ad8951d1fa877a7d4985cfd058646f 100644 (file)
@@ -74,18 +74,6 @@ server {
       return 301 /pictrs/image/$1;
     }
 
-    # pict-rs images
-    location /pictrs {
-      location /pictrs/image {
-        proxy_pass http://0.0.0.0:8537/image;
-        proxy_set_header X-Real-IP $remote_addr;
-        proxy_set_header Host $host;
-        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-      }
-      # Block the import
-      return 403;
-    }
-
     location /iframely/ {
       proxy_pass http://0.0.0.0:8061/;
       proxy_set_header X-Real-IP $remote_addr;