Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

robots.txt has not being migrated in library image and more #13

Closed
kelson42 opened this issue Nov 3, 2018 · 3 comments
Closed

robots.txt has not being migrated in library image and more #13

kelson42 opened this issue Nov 3, 2018 · 3 comments
Assignees
Labels

Comments

@kelson42
Copy link
Contributor

kelson42 commented Nov 3, 2018

In the original Nginx vhost:

  location /robots.txt {
    alias /var/www/library.kiwix.org/robots.txt;
  }

with robots.txt is

User-agent: *
Crawl-delay: 3

On the top it is also really important to threshold the number of request to library.kiwix.org. Our old Nginx configuration had:

limit_req_zone $binary_remote_addr zone=limit:10m rate=3r/s;

This should be migrated too

@florentk
Copy link
Contributor

florentk commented Nov 3, 2018

fixed in 533b43b

@florentk florentk closed this as completed Nov 3, 2018
@kelson42
Copy link
Contributor Author

kelson42 commented Nov 4, 2018

@florentk I reopen this ticket as the fix somehow does not work. We have currently a load>2 on the server because of the library container. The kiwix-serve daemon delivers at high speed content, which is quite a sign the throttling does not work properly.

@kelson42 kelson42 reopened this Nov 4, 2018
@florentk
Copy link
Contributor

florentk commented Nov 5, 2018

duplicate of #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants