• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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