mirror of
https://github.com/discourse/discourse.git
synced 2025-04-29 04:04:36 +08:00
commit
be6ca8d118
@ -1,3 +1,8 @@
|
|||||||
|
# Additional MIME types that you'd like nginx to handle go in here
|
||||||
|
types {
|
||||||
|
text/csv csv;
|
||||||
|
}
|
||||||
|
|
||||||
upstream discourse {
|
upstream discourse {
|
||||||
server unix:/var/www/discourse/tmp/sockets/thin.0.sock;
|
server unix:/var/www/discourse/tmp/sockets/thin.0.sock;
|
||||||
server unix:/var/www/discourse/tmp/sockets/thin.1.sock;
|
server unix:/var/www/discourse/tmp/sockets/thin.1.sock;
|
||||||
|
@ -50,6 +50,9 @@ Install necessary packages:
|
|||||||
# Run these commands as your normal login (e.g. "michael")
|
# Run these commands as your normal login (e.g. "michael")
|
||||||
sudo apt-get -y install build-essential libssl-dev libyaml-dev git libtool libxslt-dev libxml2-dev libpq-dev gawk curl pngcrush python-software-properties
|
sudo apt-get -y install build-essential libssl-dev libyaml-dev git libtool libxslt-dev libxml2-dev libpq-dev gawk curl pngcrush python-software-properties
|
||||||
|
|
||||||
|
# If you're on Ubuntu >= 12.10, change:
|
||||||
|
# python-software-properties to software-properties-common
|
||||||
|
|
||||||
## Caching: Redis
|
## Caching: Redis
|
||||||
|
|
||||||
Redis is a networked, in memory key-value store cache. Without the Redis caching layer, we'd have to go to the database a lot more often for common information and the site would be slower as a result.
|
Redis is a networked, in memory key-value store cache. Without the Redis caching layer, we'd have to go to the database a lot more often for common information and the site would be slower as a result.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user