All sites with error 412 Misdirected Request DirectAdmin and CloudLinux

Marks

Verified User
Joined
Jul 13, 2019
Messages
128
1752581269144.png


All the sites on my server are experiencing this error. This is the first time this has happened to me in 12 years of working.

Can anyone help me?
 
DirectAdmin Support:

Hello,The problem is related to new Apache version 2.4.64 + Nginx configuration (nginx_apache).We already have the report to our developers to check it closer and get fixed ASAP.Using Apache 2.4.63 + Nginx works fine.Thank you.

Custom Build > Versions > Apache > Manually set version 2.4.63
 
I reported this early on - it was issue with 2.4.64 Apache and nginx_apache webserver but apache webserver appears to work ok.

I temporarily worked around it for a couple of sites running through Cloudflare by changing the SSL encryption mode to Flexible which works but then all communication between your server and cloudflare is done over http instead of https.

I also rolled back to 2.4.63 until it can get sorted.
 
@webroxau @Marks Refer to https://docs.directadmin.com/changelog/version-1.680.html#software-version-changes

if you use custom nginx_apache, you would need to add as example here and do "da build rewrite_confs"

NGINX:
 location /
        {
|CUSTOM2|
                # access_log off;
                proxy_buffering |PROXY_BUFFERING|;
                proxy_pass http://|PROXY_IP|:|PORT_8080|;
                proxy_set_header X-Client-IP      $remote_addr;
                proxy_set_header X-Accel-Internal /nginx_static_files;
                proxy_set_header Host             $host;
                proxy_ssl_name $host;                       #<------add this 2 lines
                proxy_ssl_server_name on;                #<------add this 2 lines
                proxy_set_header X-Forwarded-For  $proxy_add_x_forwarded_for;
                proxy_hide_header Upgrade;
        }
        location /nginx_static_files/
        {
                # access_log  /var/log/nginx/access_log_proxy;
                alias       |DOCROOT|/;
                internal;
        }
 
Back
Top