mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
parent
ed9e91345a
commit
28eade6168
@ -1 +1 @@
|
||||
Subproject commit f5d6f0eabafd559417bf8f203fd655f7858bffcf
|
||||
Subproject commit 454debaede4cc932ac15fea9bf620cf1daf1ae4c
|
@ -34,6 +34,7 @@ services:
|
||||
networks:
|
||||
- lemmyinternal
|
||||
restart: always
|
||||
environment:
|
||||
- RUST_LOG="warn,lemmy_server=info,lemmy_api=info,lemmy_api_common=info,lemmy_api_crud=info,lemmy_apub=info,lemmy_db_schema=info,lemmy_db_views=info,lemmy_db_views_actor=info,lemmy_db_views_moderator=info,lemmy_routes=info,lemmy_utils=info,lemmy_websocket=info"
|
||||
volumes:
|
||||
- ./lemmy.hjson:/config/config.hjson
|
||||
|
@ -1,10 +1,6 @@
|
||||
# nginx example config
|
||||
# replace {{yourdomain}} and review the certbot/letsencrypt config
|
||||
worker_processes 1;
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
http {
|
||||
|
||||
limit_req_zone $binary_remote_addr zone={{yourdomain}}_ratelimit:10m rate=1r/s;
|
||||
|
||||
upstream lemmy {
|
||||
@ -149,4 +145,3 @@ http {
|
||||
default 0.0.0.0;
|
||||
}
|
||||
access_log /var/log/nginx/access.log combined;
|
||||
}
|
Loading…
Reference in New Issue
Block a user