• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

how to use x-accel-redirect with plesk-installing nginx

Luo SijiaL

New Pleskian
i got some problem with using x-accel-redirect utility in Nginx.

i have almost checked all the article online but still configure it out.

the main problem i suppose is located in the nginx.conf file.

the default content in the nginx.conf is quite simple,
but i tried up the configuration posted online with no success.

so i suppose the right way on my server might be related to the plesk,
cauz it is intelligently installed by plesk.

do you have any idea on this point?
i really need some help, thx in advance.

by the way, the default nginx.conf file is like:

1
2 #user nginx;
3 worker_processes 1;
4
5 #error_log /var/log/nginx/error.log;
6 #error_log /var/log/nginx/error.log notice;
7 #error_log /var/log/nginx/error.log info;
8
9 #pid /var/run/nginx.pid;
10
11
12 events {
13 worker_connections 1024;
14 }
15
16
17 http {
18 include mime.types;
19 default_type application/octet-stream;
20
21 #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
22 # '$status $body_bytes_sent "$http_referer" '
23 # '"$http_user_agent" "$http_x_forwarded_for"';
24
25 #access_log /var/log/nginx/access.log main;
26
27 sendfile on;
28 #tcp_nopush on;
29
30 #keepalive_timeout 0;
31 keepalive_timeout 65;
32 #tcp_nodelay on;
33
34 #gzip on;
35 #gzip_disable "MSIE [1-6]\.(?!.*SV1)";
36
37 server_tokens off;
38
39 include /etc/nginx/conf.d/*.conf;
40}
 
Back
Top