Commit graph

40 commits

Author SHA1 Message Date
aee48f3f5d
Ansible changes (#1781)
* Use env var for config location when saving (not default location)

* Consistent variable formatting for easy replacement with sed

* Remove unmaintained lemmy_dev and uninstall playbooks

* Simplify lemmy.hjson for ansible

* cleanup ansible playbook

* add separate playbook for updating lemmy config

* Revert "add separate playbook for updating lemmy config"

This reverts commit 0a970ae1da984791958b01b01d35e64d6f6eb98a.
2021-09-28 11:34:18 -04:00
Dessalines
6af75492a9
Swap out iframely (#1706)
* Replace Iframely. Fixes #1681

* Add post_link_tags to nginx

* Adding post_link_tags route

* Cleaning up post_link_tags

* Changing PostLink to SiteMetadata, adding it to the API.

* Fixing issue when local has no openssl certs.

* Fixing an issue with pictrs errors

* Revert "Fixing issue when local has no openssl certs."

This reverts commit dbf7d1b1ee03846e5ef7b7156e618424f1150e1d.

* Add ca-certs to dockerfile for volume mount.

* Cleaning up fetch_pictrs request

* Changing to fetch_site_data
2021-08-19 14:12:49 +00:00
Aaron DeVore
79ee271a5e
LemmyNet/lemmy#1635: Fix IPv6 port setup for Nginx (#1636) 2021-06-17 17:36:00 +00:00
Dessalines
d5d99fa3b9
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
* Moving docs to join.lemmy.ml . Fixes #1396

* Removing submodule fetch from drone.
2021-02-05 12:30:49 +00:00
db0a51de2a Handle long activitystreams header in nginx config (ref #1322) 2020-12-16 18:24:14 +01:00
998e824bd8 Add IP forwarding headers to nginx config (fixes #1318) 2020-12-15 15:01:37 +01:00
Dessalines
1b62e65a5d
Fix IP forwarding headers. Fixes #1214 (#1215) 2020-10-21 09:47:45 +00:00
7cc5f53cad Add line showing default ports for nginx. Fixes #1167 2020-10-03 09:53:48 -05:00
2bee3ac33b Fix nginx docs, fix test deploy. 2020-09-22 11:28:16 -05:00
Dessalines
5c6258390c
Isomorphic docker (#1124)
* Adding a way to GetComments for a community given its name only.

* Adding getcomments to api docs.

* A first pass at locally working isomorphic integration.

* Testing out cargo-husky.

* Testing a fail hook.

* Revert "Testing a fail hook."

This reverts commit 0941cf1736.

* Moving server to top level, now that UI is gone.

* Running cargo fmt using old way.

* Adding nginx, fixing up docker-compose files, fixing docs.

* Trying to re-add API tests.

* Fixing prod dockerfile.

* Redoing nightly fmt

* Trying to fix private message api test.

* Adding CommunityJoin, PostJoin instead of joins from GetComments, etc.

- Fixes #1122

* Fixing fmt.

* Fixing up docs.

* Removing translations.

* Adding apps / clients to readme.

* Fixing main image.

* Using new lemmy-isomorphic-ui with better javascript disabled.

* Try to fix image uploads in federation test

* Revert "Try to fix image uploads in federation test"

This reverts commit a2ddf2a90b.

* Fix post url federation

* Adding some more tests, some still broken.

* Don't need gitattributes anymore.

* Update local federation test setup

* Fixing tests.

* Fixing travis build.

* Fixing travis build, again.

* Changing lemmy-isomorphic-ui to lemmy-ui

* Error in travis build again.

Co-authored-by: Felix Ableitner <me@nutomic.com>
2020-09-15 15:26:47 -04:00
51b410ce01 Disable rate limiting for pictrs 2020-08-10 14:19:53 +02:00
nutomic
c34fffc2c4 Proxy pictrs requests through Lemmy (fixes #371) (#77)
fix check_only value for image rate limit

Fix image rate limit

Add rate limit for image uploads

Proxy pictrs requests through Lemmy (fixes #371)

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/77
2020-08-05 16:00:00 +00:00
alltheseteeth
4acd3c5bd2
added trailing slash fix to every nginx conf I could find (#1046) 2020-08-01 19:33:39 -04:00
bbcb782b33 Remove proxy_cache from nginx config 2020-07-21 18:10:53 +02:00
0112d0d955 Fixing test deploy, adding a rate limiter to ansible nginx config. 2020-06-28 13:44:42 -04:00
040bd4361f Fixing nginx.conf, adding nginx config update to releases.md. 2020-06-22 14:48:46 -04:00
cb128256ed Updating nginx.conf, upgrading pict-rs 2020-06-22 08:31:15 -04:00
6dea945a3a Pictshare image redirect. 2020-06-13 15:24:53 -04:00
f647f2ae6c Blocking pict-rs import location 2020-06-12 17:05:19 -04:00
bd26e4e9c1 Fixing some front end pictshare to pictrs conversions. 2020-06-09 17:17:24 -04:00
e583e45d9a Use pictrs instead of pictshare 2020-06-08 19:52:32 +02:00
b2a7ce834d Enable gzip compression for .svg 2020-06-03 11:59:39 +02:00
36312e91e4 Revert "Deploy multiple Lemmy instances to the same server (ref #474)"
This reverts commit aa341933da.
2020-03-28 18:18:20 -04:00
6c31a1f9cc Deploy multiple Lemmy instances to the same server (ref #474) 2020-03-11 01:05:50 +01:00
55f91ac5dc First pass at adding oembeds / iframely. 2020-02-17 11:18:01 -05:00
032ebe7a9e Integrate email relay in Ansible setup 2020-02-03 14:10:24 +01:00
e603b52a5b Adding proxy_cache. #408 2020-01-12 13:28:05 -05:00
146e405979 Adding image caching via immutable to ansible. #371 #408 2020-01-12 12:58:06 -05:00
e4cea91ea8 Fix nginx config. 2019-12-13 18:38:30 -08:00
665dca80d0 Moving front end routes from nginx to actix
- Fixes #363
2019-12-11 21:28:33 -08:00
a6810da992 Fixing inbox nginx config due to adding feeds/inbox. 2019-12-07 18:18:05 -08:00
32c1d56bc7 Fixing issue with wrongly routed rss feeds.
- Fixes #352
2019-12-01 19:47:17 -08:00
68e4b61808 Password reset mostly working. 2019-11-01 23:41:57 -07:00
bd40a784cf Adding image cache max. 2019-09-08 11:32:39 -07:00
c39ae06bd4 Allow Image uploads through docker pictshare.
- Fixes #210
2019-09-07 20:42:01 -07:00
951a3d0616 Some fixes for ansible.
- Also updating the nginx template
- Updating deploy.sh
2019-09-02 10:37:30 -07:00
f474904a46 Fixing nginx config.
- Fixes #247
2019-08-29 11:40:23 -07:00
ac28ed6875 various fixes 2019-08-20 19:38:10 +02:00
cce330fa2d add security headers to nginx (fixes #208) 2019-08-20 19:38:10 +02:00
c45ad217c4 added env file 2019-08-20 19:38:10 +02:00
Renamed from ansible/nginx.conf (Browse further)