# Discourse Link previews through a proxy server?

**URL:** <https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720>\
**Category:** Self-hosting\
**Created:** [25. Oktober 2017 um 01:34 UTC](https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720 "2017-10-25T01:34:34Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![nsuchy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nsuchy/32/166530_2.png) [@nsuchy](https://meta.discourse.org/u/nsuchy)\
**Post date:** [25. Oktober 2017 um 21:20 UTC](https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720/18 "2017-10-25T21:20:50Z")

</div>

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && gem update bundler failed with return #<Process::Status: pid 269 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"web", "cmd"=>["gem update bundler", "chown -R discourse $home"]}
941587b32cdd671254567f75ce8ca877639de1bb60ee101fa31a4e3d947da140
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one
root@discourse:/var/discourse# 

```

Getting that error when I try to rebuild. What happened?

Goes away when I remove the proxy enviroment variables.

---

_[View the full topic](https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720)._
