evazion
209350de5b
scripts: remove unused danbooru-specific config.
...
Danbooru-specific configuration now lives in https://github.com/danbooru/danbooru-ansible .
2020-06-21 18:56:42 -05:00
evazion
13f26c81d8
Remove unused files.
2019-11-15 23:59:56 -06:00
evazion
2c6567b5d2
Remove uses of the read replica database.
...
https://danbooru.donmai.us/forum_topics/9127?page=283#forum_post_160508
There was a recent outage that was caused by the read replica
(yukinoshita.donmai.us) being temporarily unavailable. The pg driver in
rails got hardstuck trying to connect to the replica, which brought down
the whole site. The app servers stopped responding and could only be
brought down with SIGKILL. Even try to boot the rails console didn't
work.
We only really used this to calculate tag counts inside Post.fast_count,
which wasn't really beneficial since the read replica is slower than the
main database.
2019-10-22 12:15:46 -05:00
evazion
22d4625071
Fix #4173 : Fix inconsistent max upload size.
2019-09-22 22:59:33 -05:00
evazion
1d6d816b23
nginx: add production nginx config files.
2019-09-22 22:59:33 -05:00
evazion
dfe2b831a3
cache: replace memcache with redis.
...
Drop memcache. Use redis for all caching instead.
2019-08-22 23:15:34 -05:00
evazion
e29e5fe984
Fix #4131 : Upgrade to Ruby 2.6.
...
Upgrade procedure:
$ echo 2.6.3 > .ruby-version
# upgrade ruby-build to know about the latest ruby versions.
# see also: github.com/rkh/rbenv-update
$ cd ~/.rbenv/plugins/ruby-build && git pull
# install the version of ruby specified in .ruby-version.
# see also: github.com/capistrano/rbenv/issues/83
$ rbenv install --skip-existing
# update the shell to use the latest version of ruby by default.
$ rbenv global 2.6.3
# update rubygems and bundler
$ gem update --system
# update the lockfile to use the latest version of bundler
$ bundle update --bundler
2019-08-14 12:25:50 -05:00
nothink
14b0b3f000
Fix typo in nginx.danbooru.conf
2019-08-06 07:48:08 +09:00
nothink
72ceb484ce
Update INSTALL.debian, for Debian 9(stretch)
2019-08-05 23:29:12 +09:00
Albert Yi
ea405bdc47
update nginx config
2018-10-16 14:58:30 -07:00
Albert Yi
66ce07e993
add additional install scripts, fix staging deploy
2018-10-16 09:47:58 -07:00
evazion
60ea46e1e7
Add sample newrelic config.
2018-10-09 20:11:44 -05:00
Albert Yi
1a4949368c
add server
2018-10-09 14:40:43 -07:00
Albert Yi
897d3d3a99
add production2 env for testing new servers
2018-10-03 11:23:26 -07:00
evazion
c50ad41792
nginx.danbooru.conf: fix X-Forwarded-Proto.
...
Sending `http` is wrong, it causes a redirect loop if HSTS is enabled.
2018-04-19 00:45:55 -05:00
evazion
feaad0bbd0
nginx.conf: fix inconsistent client_max_body_size.
2018-02-27 18:22:37 -06:00
Tyler Bennett
76fd54b284
update nginx config
...
On Ubuntu 16.04 LTS, the break in the config causes nginx to fail to restart
2017-08-12 22:19:49 -05:00
r888888888
83a5856627
include cache proxy config for nginx
2017-03-13 16:26:07 -07:00
evazion
74bbd45cdf
dotenv: enable overriding database settings.
2017-01-23 18:07:52 -06:00
Albert Yi
08e0480a62
include archive databases in yml
2016-12-27 13:54:59 -08:00
Albert Yi
73ff94e920
integrate iqdbs
2016-11-30 16:38:00 -08:00
r888888888
2dfc6d92e4
fixes #2603 : Nginx Error: unknown "invalid_referer" variable
2016-05-27 12:41:18 -07:00
r888888888
ba65ec3e18
improve seo tagging, update nginx config file
2016-05-23 17:05:23 -07:00
r888888888
9d3d7abedc
add support for read only post queries
2016-01-25 16:40:23 -08:00
r888888888
447597b665
add Dockerfile support
2015-01-22 15:18:52 -08:00
r888888888
3ed3febe06
update install scripts
2014-06-22 20:25:32 -07:00
r888888888
9f8a36f1bb
iqdb: switch to SIGTERM to kill process
2014-03-24 18:03:03 -07:00
dobacco
00908a7ace
fix install script to work with unicorn
2013-04-17 21:45:29 -07:00
albert
f2863ba27b
update nginx.conf
2013-01-17 12:38:24 -05:00
albert
858a8ed72a
remove keymaster dependency
2012-09-19 16:53:36 -04:00
albert
6c45589bc5
updated install script
2012-04-19 15:19:37 -04:00
albert
672e35c7fd
updated install script
2012-04-19 15:14:53 -04:00
albert
08cfb3d637
upgraded jquery, restyled post wiki excerpts
2012-01-13 17:40:01 -05:00
albert
ee1329235d
fix to install script, add ordering to dmails
2011-12-07 16:58:52 -05:00
albert
c6aaf45421
fixes to migration script
2011-10-23 00:27:23 -04:00
albert
018c8bceea
install script fixes
2011-10-22 22:30:32 -04:00
albert
d8e4f51f60
updated versions
2011-08-30 13:17:32 -04:00
albert
80c142dc1d
fix for nginx init script
2011-08-30 12:17:25 -04:00
albert
476f210615
deploy script fixes
2011-08-29 16:54:39 -04:00
albert
6e54f257af
install script fixes
2011-08-28 13:17:38 -04:00
albert
8031893ea7
install script fixes
2011-08-26 17:13:05 -04:00
albert
659f79ace5
install script fixes
2011-08-26 17:06:54 -04:00
albert
6d022d308a
updated INSTALL script
2011-08-24 16:56:30 -04:00