# Self-hosting

**URL:** https://meta.discourse.org/c/support/self-hosting/31.md?page=148

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 149

---

## [Nginx 和 Discourse 在使用 SSL 时出现重定向循环](https://meta.discourse.org/t/nginx-and-discourse-is-redirect-looping-with-ssl/50048)

<div class="topic-metadata">

**Author:** [@Semaphorism](https://meta.discourse.org/u/Semaphorism)\
**回覆:** 3\
**Last updated:** [2016年九月13日 05:16 UTC](https://meta.discourse.org/t/nginx-and-discourse-is-redirect-looping-with-ssl/50048 "2016-09-13T05:16:45Z")

</div>

我在端口5001（HTTP）和5002（HTTPS）上运行Discourse，但问题是它导致重定向循环，也称为Chrome上的ERR\_TOO\_MANY\_REDIRECTS。 这是我的Nginx配置，带有SSL。我从Digi……获得了这个配置。

---

## [Is it possible to run discourse without redis cache on aws elasticache?](https://meta.discourse.org/t/is-it-possible-to-run-discourse-without-redis-cache-on-aws-elasticache/50000)

<div class="topic-metadata">

**Author:** [@aedensixty](https://meta.discourse.org/u/aedensixty)\
**回覆:** 1\
**Last updated:** [2016年九月12日 07:30 UTC](https://meta.discourse.org/t/is-it-possible-to-run-discourse-without-redis-cache-on-aws-elasticache/50000 "2016-09-12T07:30:18Z")

</div>

Currently we are discourse on an ec2 instance and elasticache redis instance deploying with docker. Is there anyway of running discourse without redis? We are getting charged quite highly for it especially because we n…

---

## [How to disable direct https://ipaddress visit?](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927)

<div class="topic-metadata">

**Author:** [@doudou](https://meta.discourse.org/u/doudou)\
**回覆:** 16\
**Last updated:** [2016年九月10日 06:48 UTC](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927 "2016-09-10T06:48:44Z")

</div>

see title. How to prohibit https://ipaddress visit the website or using http://ip:443? How to configure in the docker nginx?

---

## [Can I install on existing Docker?](https://meta.discourse.org/t/can-i-install-on-existing-docker/49842)

<div class="topic-metadata">

**Author:** [@RyanH](https://meta.discourse.org/u/RyanH)\
**回覆:** 4\
**Last updated:** [2016年九月7日 20:09 UTC](https://meta.discourse.org/t/can-i-install-on-existing-docker/49842 "2016-09-07T20:09:31Z")

</div>

I’m running a server with Ubuntu 14.04 and managed with Plesk Onyx (preview of version 17). One of the awesome things about the upcoming Plesk release is their support for Docker images. So setting up a domain or subdoma…

---

## [Lots of problems installing Discourse under CentOS with NGINX forwarding](https://meta.discourse.org/t/lots-of-problems-installing-discourse-under-centos-with-nginx-forwarding/49537)

<div class="topic-metadata">

**Author:** [@john3](https://meta.discourse.org/u/john3)\
**回覆:** 16\
**Last updated:** [2016年九月2日 09:22 UTC](https://meta.discourse.org/t/lots-of-problems-installing-discourse-under-centos-with-nginx-forwarding/49537 "2016-09-02T09:22:54Z")

</div>

Hi, I have installed discourse multiple times but the issue remains the same, even a fresh discourse installation did not help. If i upload an image, i get the link and it works, but the default discourse links such as …

---

## [升级 PostgreSQL 从 9.3 到最新版本时遇到问题](https://meta.discourse.org/t/trouble-upgrading-postgresql-from-9-3-to-current/49207)

<div class="topic-metadata">

**Author:** [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**回覆:** 12\
**Last updated:** [2016年八月29日 00:52 UTC](https://meta.discourse.org/t/trouble-upgrading-postgresql-from-9-3-to-current/49207 "2016-08-29T00:52:27Z")

</div>

继续讨论Discourse Docker Image 版本1.3.3，已发布： 所以，自从新docker镜像推出后，我一直在使用postgres 9.3……只是替换了templates/postgres.9.3.template.yml为templat…

---

## [我应该在1.6+版本上使用哪个Postgres版本](https://meta.discourse.org/t/what-version-of-postgres-should-i-be-using-on-1-6/49177)

<div class="topic-metadata">

**Author:** [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**回覆:** 2\
**Last updated:** [2016年八月25日 02:39 UTC](https://meta.discourse.org/t/what-version-of-postgres-should-i-be-using-on-1-6/49177 "2016-08-25T02:39:44Z")

</div>

大约1-2个月前进行了一个主要的docker升级，我认为升级到了postgres 9.5吗？ 我今天刚刚运行了./launcher rebuild app，看到使用的是postgres 9.3... :/var/discourse# ./launcher rebuild ap…

---

## [Inject patch in Docker Installation](https://meta.discourse.org/t/inject-patch-in-docker-installation/48994)

<div class="topic-metadata">

**Author:** [@dorianamouroux](https://meta.discourse.org/u/dorianamouroux)\
**回覆:** 8\
**Last updated:** [2016年八月24日 22:25 UTC](https://meta.discourse.org/t/inject-patch-in-docker-installation/48994 "2016-08-24T22:25:40Z")

</div>

Hello there, I’m trying to setup a single sign on system from my custom oauth2 provider. I found this topic to overwrite the process after successful redirection : https://meta.discourse.org/t/disable-create-account-sc…

---

## [Install on machine with existing Nginx and SSL](https://meta.discourse.org/t/install-on-machine-with-existing-nginx-and-ssl/49153)

<div class="topic-metadata">

**Author:** [@helmi](https://meta.discourse.org/u/helmi)\
**回覆:** 4\
**Last updated:** [2016年八月24日 17:40 UTC](https://meta.discourse.org/t/install-on-machine-with-existing-nginx-and-ssl/49153 "2016-08-24T17:40:00Z")

</div>

Hey there, I have an existing machine with nginx and SSL running (also for the domain that is supposed to use discourse later). I found quite some hints about how to proxy to discourse through nginx but none of the app…

---

## [Redirect to discourse from a route in another domain](https://meta.discourse.org/t/redirect-to-discourse-from-a-route-in-another-domain/49059)

<div class="topic-metadata">

**Author:** [@mangelsnc](https://meta.discourse.org/u/mangelsnc)\
**回覆:** 2\
**Last updated:** [2016年八月24日 07:58 UTC](https://meta.discourse.org/t/redirect-to-discourse-from-a-route-in-another-domain/49059 "2016-08-24T07:58:48Z")

</div>

Hi! I need to put the discourse forum under a URL like https://mydomain.com/forum. I have installed NGinx in the server which hosts discourse (forum.mydomain.com) , and redirected it to the discourse instance, somethin…

---

## [What type of email service is needed for discourse?](https://meta.discourse.org/t/what-type-of-email-service-is-needed-for-discourse/48917)

<div class="topic-metadata">

**Author:** [@pinbot](https://meta.discourse.org/u/pinbot)\
**回覆:** 2\
**Last updated:** [2016年八月23日 13:16 UTC](https://meta.discourse.org/t/what-type-of-email-service-is-needed-for-discourse/48917 "2016-08-23T13:16:41Z")

</div>

I completed by setup with mailgun and saw some post setting discourse with Zoho . What type of email service is required for a forum setup ? Is transactional mail setup sufficient ? I also stumbled upon the routes option…

---

## [Prevent Docker from using Google DNS](https://meta.discourse.org/t/prevent-docker-from-using-google-dns/49004)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回覆:** 4\
**Last updated:** [2016年八月22日 13:45 UTC](https://meta.discourse.org/t/prevent-docker-from-using-google-dns/49004 "2016-08-22T13:45:48Z")

</div>

So I am attempting to install Discourse in production for the first time. I am doing this on a college campus, where external DNS servers (like Google) are blocked. As such, when attempting to bootstrap Discourse it fa…

---

## [How to use REST API service with nginx in front](https://meta.discourse.org/t/how-to-use-rest-api-service-with-nginx-in-front/48900)

<div class="topic-metadata">

**Author:** [@Webtrend](https://meta.discourse.org/u/Webtrend)\
**回覆:** 0\
**Last updated:** [2016年八月19日 22:27 UTC](https://meta.discourse.org/t/how-to-use-rest-api-service-with-nginx-in-front/48900 "2016-08-19T22:27:21Z")

</div>

I have discourse installed in docker container with nginx in front acting as a load balancer. I would like to access REST API which is served from port 3000 per the API documentation. How do I expose port 3000 on the co…

---

## [Creating admin using rake admin:create in multisite configuration](https://meta.discourse.org/t/creating-admin-using-rake-admin-create-in-multisite-configuration/48615)

<div class="topic-metadata">

**Author:** [@Hammad\_Abbasi](https://meta.discourse.org/u/Hammad_Abbasi)\
**回覆:** 11\
**Last updated:** [2016年八月19日 10:49 UTC](https://meta.discourse.org/t/creating-admin-using-rake-admin-create-in-multisite-configuration/48615 "2016-08-19T10:49:49Z")

</div>

Hi, I am running discourse multi-site setup, I am wondering how can i create administrator using rake admin:create It creates the administrator on first site.

---

## [Set forum settings either before or after install](https://meta.discourse.org/t/set-forum-settings-either-before-or-after-install/36772)

<div class="topic-metadata">

**Author:** [@SnipersCode](https://meta.discourse.org/u/SnipersCode)\
**回覆:** 3\
**Last updated:** [2016年八月10日 02:52 UTC](https://meta.discourse.org/t/set-forum-settings-either-before-or-after-install/36772 "2016-08-10T02:52:36Z")

</div>

Background: I’m currently creating a solution that automatically deploys the nginx, uwsgi, flask, and discourse containers using docker-compose. My flask application has an oauth2 endpoint that discourse uses (using the …

---

## [Should I use a subdomain or can I install Discourse at the root domain?](https://meta.discourse.org/t/should-i-use-a-subdomain-or-can-i-install-discourse-at-the-root-domain/48417)

<div class="topic-metadata">

**Author:** [@Turko](https://meta.discourse.org/u/Turko)\
**回覆:** 1\
**Last updated:** [2016年八月9日 21:33 UTC](https://meta.discourse.org/t/should-i-use-a-subdomain-or-can-i-install-discourse-at-the-root-domain/48417 "2016-08-09T21:33:13Z")

</div>

Hi İ got example.com domain. but when i read insttallation guideline it says "example.example.com " i should registered new domain like this ?

---

## [Guide: Getting Discourse Installed on OVH Cloud (Part 2)](https://meta.discourse.org/t/guide-getting-discourse-installed-on-ovh-cloud-part-2/23963)

<div class="topic-metadata">

**Author:** [@pl3bs](https://meta.discourse.org/u/pl3bs)\
**回覆:** 5\
**Last updated:** [2016年八月9日 05:44 UTC](https://meta.discourse.org/t/guide-getting-discourse-installed-on-ovh-cloud-part-2/23963 "2016-08-09T05:44:40Z")

</div>

As promised, I am going to post up a guide for others to follow after spending numerous hours trying to get this figured out properly. This is a continuation from here: Where I was totally lost. This guide assumes: …

---

## [Discourse has stopped opening](https://meta.discourse.org/t/discourse-has-stopped-opening/47710)

<div class="topic-metadata">

**Author:** [@itamerlanium](https://meta.discourse.org/u/itamerlanium)\
**回覆:** 36\
**Last updated:** [2016年八月8日 22:33 UTC](https://meta.discourse.org/t/discourse-has-stopped-opening/47710 "2016-08-08T22:33:32Z")

</div>

Hi dears, unfortunately, my website http://specknz.me/ has stopped opening and I don’t really know what has caused it. Also I’ve got an error: 502 Bad Gateway nginx How could be it sort out without touching the Snapsh…

---

## [Multisite Installation](https://meta.discourse.org/t/multisite-installation/48218)

<div class="topic-metadata">

**Author:** [@Juliette\_Culver](https://meta.discourse.org/u/Juliette_Culver)\
**回覆:** 4\
**Last updated:** [2016年八月6日 05:22 UTC](https://meta.discourse.org/t/multisite-installation/48218 "2016-08-06T05:22:04Z")

</div>

I’m trying to get a multisite installation of discourse working with a different domain for each site and I’m getting a bit confused by the instructions Multisite configuration with Docker I’ve seen all the warnings abo…

---

## [论坛升级在升级 \`docker\_manager\` 时崩溃](https://meta.discourse.org/t/forum-upgrade-crashing-at-upgrade-docker-manager/47909)

<div class="topic-metadata">

**Author:** [@modius](https://meta.discourse.org/u/modius)\
**回覆:** 4\
**Last updated:** [2016年八月5日 06:41 UTC](https://meta.discourse.org/t/forum-upgrade-crashing-at-upgrade-docker-manager/47909 "2016-08-05T06:41:09Z")

</div>

我的论坛在进行基于网页的升级到这个阶段时崩溃；CPU使用率飙升到100%，我必须重启服务器才能恢复；在DigitalOcean上的标准vanilla 2GB Droplet。 升级 docker\_manager 时 \*\*\* 正在打包资产。

---

## [FAILED TO BOOTSTRAP : 'Pups::ExecError'](https://meta.discourse.org/t/failed-to-bootstrap-pups-execerror/47980)

<div class="topic-metadata">

**Author:** [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)\
**回覆:** 0\
**Last updated:** [2016年七月29日 17:50 UTC](https://meta.discourse.org/t/failed-to-bootstrap-pups-execerror/47980 "2016-07-29T17:50:20Z")

</div>

Hi! Here is the error I get when I try to rebuild my app (Git revision: beta): Compressing: application-db30cb7af624e44f554adaa4f48e592c263b25627dac6aaded087b41331c3a55.js uglifyjs '/var/www/discourse/public/assets/\_ap…

---

## [Discourse server FQDN & email settings help?](https://meta.discourse.org/t/discourse-server-fqdn-email-settings-help/47922)

<div class="topic-metadata">

**Author:** [@Mattzees](https://meta.discourse.org/u/Mattzees)\
**回覆:** 1\
**Last updated:** [2016年七月28日 21:52 UTC](https://meta.discourse.org/t/discourse-server-fqdn-email-settings-help/47922 "2016-07-28T21:52:20Z")

</div>

Hello World, I’ve got a Discourse server running at home for testing purposes (it looks awesome, btw) but I’m confused about how to configure the FQDN and email settings. I had to gain access to an administrative accou…

---

## [Should I set up a masked redirect to my Disclosure VPS? Is there an alternative?](https://meta.discourse.org/t/should-i-set-up-a-masked-redirect-to-my-disclosure-vps-is-there-an-alternative/47838)

<div class="topic-metadata">

**Author:** [@JustJasper](https://meta.discourse.org/u/JustJasper)\
**回覆:** 2\
**Last updated:** [2016年七月26日 21:11 UTC](https://meta.discourse.org/t/should-i-set-up-a-masked-redirect-to-my-disclosure-vps-is-there-an-alternative/47838 "2016-07-26T21:11:26Z")

</div>

First of all, I should preface this with the fact that I am a newby when it comes to SSH and VPSs. That said, I have managed to get a Disclosure instance up and running on a OVH VPS over the course of the afternoon (inc…

---

## [Does this software allow admin to put Adsense ads in?](https://meta.discourse.org/t/does-this-software-allow-admin-to-put-adsense-ads-in/47832)

<div class="topic-metadata">

**Author:** [@Gavin\_Pedley](https://meta.discourse.org/u/Gavin_Pedley)\
**回覆:** 5\
**Last updated:** [2016年七月26日 19:55 UTC](https://meta.discourse.org/t/does-this-software-allow-admin-to-put-adsense-ads-in/47832 "2016-07-26T19:55:05Z")

</div>

As the title suggests really. I am looking at discourse as an option to transfer or xenforo forum too. I need to know though if admin can simply add ads into the forum. Also is there a migration script or anything?

---

## [Just how much email does Discourse send?](https://meta.discourse.org/t/just-how-much-email-does-discourse-send/47786)

<div class="topic-metadata">

**Author:** [@Jaxkr](https://meta.discourse.org/u/Jaxkr)\
**回覆:** 12\
**Last updated:** [2016年七月26日 17:31 UTC](https://meta.discourse.org/t/just-how-much-email-does-discourse-send/47786 "2016-07-26T17:31:16Z")

</div>

I want to use discourse, but the whole “email is critical thing” made it seem like Discourse sends email heavily and I don’t want an expensive mailgun bill. Just how much email does discourse send by default? On what eve…

---

## [Anyone tried installing with Docker 1.12 already?](https://meta.discourse.org/t/anyone-tried-installing-with-docker-1-12-already/47623)

<div class="topic-metadata">

**Author:** [@alexrcs](https://meta.discourse.org/u/alexrcs)\
**回覆:** 7\
**Last updated:** [2016年七月24日 23:22 UTC](https://meta.discourse.org/t/anyone-tried-installing-with-docker-1-12-already/47623 "2016-07-24T23:22:05Z")

</div>

I’m getting this weird error when trying to install Discourse with the Docker for Mac beta (1.12.0.rc4-beta20). Configuration file at containers/app.yml updated successfully! cd /pups && git pull && /pups/bin/pups --st…

---

## [Avatars in an offline install](https://meta.discourse.org/t/avatars-in-an-offline-install/47735)

<div class="topic-metadata">

**Author:** [@alexrcs](https://meta.discourse.org/u/alexrcs)\
**回覆:** 2\
**Last updated:** [2016年七月24日 23:18 UTC](https://meta.discourse.org/t/avatars-in-an-offline-install/47735 "2016-07-24T23:18:22Z")

</div>

I’m trying to deploy a Discourse instance on a fully offline environment. We have a community of about 8000 people (mainly developers) on a big “local area” network. Getting internet access to the server is not an optio…

---

## [Installation on 512MB](https://meta.discourse.org/t/installation-on-512mb/47708)

<div class="topic-metadata">

**Author:** [@atul\_sharma](https://meta.discourse.org/u/atul_sharma)\
**回覆:** 4\
**Last updated:** [2016年七月24日 14:59 UTC](https://meta.discourse.org/t/installation-on-512mb/47708 "2016-07-24T14:59:19Z")

</div>

I want to try discourse for my training forum. Dont know how much users will come, but 1000 approx i am thinking as of now. I checked digital ocean, 512mb, What are the steps i have to follow.

---

## [Site went down after upgrading Discourse .xx11](https://meta.discourse.org/t/site-went-down-after-upgrading-discourse-xx11/47582)

<div class="topic-metadata">

**Author:** [@Rodelio\_Lagahit](https://meta.discourse.org/u/Rodelio_Lagahit)\
**回覆:** 6\
**Last updated:** [2016年七月21日 06:32 UTC](https://meta.discourse.org/t/site-went-down-after-upgrading-discourse-xx11/47582 "2016-07-21T06:32:52Z")

</div>

Site went down after upgrading Discourse .xx11 Just updated the site (hrm.com.ph), but after successfully updating, it’s no longer accessible. but I can access the /admin/upgrade page still. tried rebuild app, still to…

---

## [Email server required? Internal Auth system?](https://meta.discourse.org/t/email-server-required-internal-auth-system/47392)

<div class="topic-metadata">

**Author:** [@erasmus\_grant](https://meta.discourse.org/u/erasmus_grant)\
**回覆:** 4\
**Last updated:** [2016年七月16日 23:45 UTC](https://meta.discourse.org/t/email-server-required-internal-auth-system/47392 "2016-07-16T23:45:00Z")

</div>

I am looking to use this for my EVE Online organization. Far as I know no other EVE groups use discourse. We have an internal auth system based on EVE API data. If a user gives correct a valid API they are register f…

[上一頁](https://meta.discourse.org/c/support/self-hosting/31.md?page=147)

[下一頁](https://meta.discourse.org/c/support/self-hosting/31.md?page=149)
