docker – Blame information for rev 62

Subversion Repositories:
Rev:
Rev Author Line No. Line
62 office 1 server {
2 listen @RUTORRENT_PORT@;
3  
4 root /var/www/rutorrent;
5 index index.html;
6  
7 auth_basic "@RUTORRENT_AUTHBASIC_STRING@";
8 auth_basic_user_file /passwd/rutorrent.htpasswd;
9  
10 client_max_body_size @UPLOAD_MAX_SIZE@;
11 client_body_buffer_size 128k;
12 large_client_header_buffers 4 16k;
13  
14 location / {
15 try_files $uri $uri/ =404;
16 }
17  
18 location ~ \.php$ {
19 fastcgi_split_path_info ^(.+\.php)(/.+)$;
20 set $path_info $fastcgi_path_info;
21 try_files $fastcgi_script_name =404;
22 include fastcgi_params;
23 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
24 fastcgi_param PATH_INFO $path_info;
25 fastcgi_buffers 256 4k;
26 fastcgi_intercept_errors on;
27 fastcgi_read_timeout 14400;
28 fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
29 fastcgi_param SERVER_SOFTWARE "";
30 }
31  
32 location ~ /\.ht {
33 deny all;
34 }
35  
36 location ~ /(conf|share)/ {
37 deny all;
38 }
39 }
40  
41 server {
42 listen 127.0.0.1:@RUTORRENT_HEALTH_PORT@;
43 server_name _;
44  
45 access_log off;
46 error_log /dev/null;
47  
48 location / {
49 return 500;
50 }
51  
52 location ~ ^/(status|ping)$ {
53 allow 127.0.0.1;
54 deny all;
55 fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
56 fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
57 include fastcgi_params;
58 fastcgi_param SERVER_SOFTWARE "";
59 }
60 }