Commit graph

20 commits

Author SHA1 Message Date
Mouse Reeve
3a0533b7fc Updates nginx production config
This copies over the changes Trammell added to the development file. I
also realized that I think it's fine to only commend out the https
redirect, rather than commenting out the entire server block for
listening on port 443? If this works it makes the file a lot easier to
read.

Co-authored-by: Trammell Hudson <hudson@trmm.net>
2022-12-11 12:28:53 -08:00
Trammell Hudson
43b194d612 nginx: route /flower to the queue monitoring system.
This patch removes the exposed port for the flower
server and instead uses nginx to route urls /flower/*
to the queue monitoring system.
2022-12-06 13:01:40 +00:00
Trammell Hudson
5922e29369 Enable nginx caching and optimizations.
This patch enabled nginx caching of responses for non-logged in users
so that a boost by a popular mastodon user doesn't DDOS the bookwyrm site.
It also silences some of the nginx access logs so that static files are
not logged.
2022-12-06 13:01:40 +00:00
Mouse Reeve
40ead41176 Fixes rate limiter 2022-11-01 18:17:37 -07:00
Hugh Rundle
e1513bf98d amend nginx rate limiting urls 2022-10-15 07:47:20 +11:00
Mouse Reeve
e1e6a2d380 Adds block to prod config 2022-07-15 13:19:42 -07:00
Mouse Reeve
143eaf362d Adds rate limiting to some views in nginx 2022-07-15 13:14:31 -07:00
Olof Pettersson
5f10ccd9c7
Comment out trailing block ending
For people installing an instance with only the reverse proxy server, the hidden trailing `}` at the end of the second server block is quite hard to catch and it took me a good while to figure it out. Having the entire server commented out makes the whole process more understandable in my opinion.
2021-12-01 14:18:28 +01:00
nycterent
67d830e327 fixed typo for the domain placeholder for easier substitution 2021-11-07 16:07:21 +02:00
Mouse Reeve
34a5eccba7 Increase max upload size in nginx 2021-09-06 09:43:41 -07:00
Mouse Reeve
8e2acb733c Use non-www domain canonically 2021-09-05 14:13:54 -07:00
Jason Kelly
318e0bf508 Fixing nginx-config misunderstanding. 2021-05-23 14:27:02 +08:00
Jason Kelly
e138a585d1 Setting client_max_body_size to 10m.
- Removed commented-out nginx config for clarity.
2021-05-23 14:08:22 +08:00
Pablo Barton
d38efa9a9d Easier to deploy by avoiding merge conflicts in production 2021-04-11 13:12:50 -04:00
Mouse Reeve
b8040cd0dc Move prod config files to prod branch 2020-10-16 13:02:58 -07:00
Mouse Reeve
ba396f19a6 typos in example domain 2020-10-05 14:25:53 -07:00
Mouse Reeve
d29ed2746a Removed old prod nginx conf 2020-10-05 14:24:14 -07:00
Mouse Reeve
e24eca7da0 Config files for prod deployment 2020-10-05 14:22:37 -07:00
Mouse Reeve
68813f9453 Nginx and certbot config for prod deploy 2020-10-05 14:17:04 -07:00
Mouse Reeve
dbabeab470 Nginx config
Fixes #152 (hopefully???)
Fixes #130
Fixes #125
2020-05-17 20:28:46 -07:00