Illegal websites should not initiate any form of manual service requests to our staff. It is strictly prohibited to use honmau Media's technical support services and products to engage in any illegal activities. If discovered, no technical support will be provided. ×
Current location:home> news > help and support

Operation and maintenance technical services

Response time:10 minutes

How to handle problems:1-on-1 manual technical services

Working hours:Monday to Saturday 8:30-22:00

Business scope:

Website development Mini programs development Discuz operation and maintenance

Baota Operation and Maintenance Website Operation and Maintenance SSL Certificates

Operation and maintenance technology can solve difficult problems for you

search first

recommend

Baota Linux Professional Edition

It includes 13 professional version plug-ins worth more than 3500 yuan, including Web Application Firewall, website monitoring reports and exception monitoring push.

  • Baota system reinforcement
  • Website tamper-proof program
  • Nginx Firewall
  • Website Monitoring Report
advertising

Solutions for Discuz3.4 large attachments that cannot be downloaded

Discuz3.4大附件无法下载的解决办法

This tutorial is only for the nginx environment. nginx can be configured as follows to solve this problem:

Nginx has good support for sendfile, and X3.4 also supports sending attachments to customers through sendfile. For resource download forums, it can significantly reduce the resource consumption of PHP to read attachments.

1. First check whether there is a sendfile off configuration in Nginx's configuration file. If there is, change the sendfile to on.

2. Open the forum configuration file config/config_global.php,

Find the following code:

$_config['download']['xsendfile']['type'] =0

Change 0 in the above code to 1. Then find the following code:

$_config['download']['xsendfile']['dir'] = '/down/';

Make corresponding modifications according to the directory where the forum is located:

If the forum is placed in the root directory, change/down/to/data/attachment/forum/

If the forum is placed in the bbs directory, change/down/to/bbs/data/attachment/forum/

And so on.

Content source: Official media/Internet information

Scan mobile WeChat

Continue reading immediately in the Mini programs

© Website copyright and disclaimer

1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;

2. No one is allowed to copy it without the express written permission of [honmau Media];

3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;

4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;

5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice

Recently, do you want to customize and develop a Mini programs/website/hosted operation and maintenance service?
submission
Working days: 8:30 - 22:00  Online QQ customer service

customer service

Company Introduction
top