Skip to content

Commit

Permalink
fixes for torrent files over 1MB (for Legacy)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptInsano committed Jun 4, 2015
1 parent d8e620c commit 93da9d4
Show file tree
Hide file tree
Showing 3 changed files with 1,936 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LegacyRuTorrent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ RUN rm /etc/nginx/sites-available/* &&\
COPY nginx /etc/nginx
RUN ln -s /etc/nginx/sites-available/rutorrent /etc/nginx/sites-enabled/rutorrent

# copy php.ini
RUN rm /etc/php5/fpm/php.ini
COPY php.ini /etc/php5/fpm/php.ini

#set default umask to 002
RUN rm /etc/login.defs
COPY login.defs /etc/login.defs
Expand Down
2 changes: 2 additions & 0 deletions LegacyRuTorrent/nginx/sites-available/rutorrent
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ server {

auth_basic "Restricted";
auth_basic_user_file /config/.htpasswd;

client_max_body_size 10M;

# Make site accessible from http://localhost/
server_name localhost;
Expand Down
Loading

0 comments on commit 93da9d4

Please sign in to comment.