Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kodzero

    (@kodzero)

    My logs

    2015/07/09 01:07:11 [error] 2127#0: *144 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 188.242.230.84, server: cuff.ru, request: “GET /wp-admin/update-core.php HTTP/1.1”, upstream: “fastcgi://unix:/var/www/php-fpm/cuff.sock”, host: “cuff.ru”, referrer: “https://cuff.ru/wp-admin/update.php?action=update-selected&plugins=woocommerce%2Fwoocommerce.php&_wpnonce=19991a89e4

    Thread Starter kodzero

    (@kodzero)

    Sorry, now my site work good.

    Close this question.

    Thnx, best regards.

    Thread Starter kodzero

    (@kodzero)

    The problem remains, sorry.

    SSL(HTTPS) isn’t work shops admin panel WP (((
    loop!
    Server Debian 8.1 forward Apache + Nginx

    I can’t update after 2.3.11

    2.3.11 last stable release.

    My wp-config.php have configuration –
    define (‘FORCE_SSL_ADMIN’, true);
    define (‘FORCE_SSL_LOGIN’, true);

    but 2.3.12 – 2.3.13 beta version.
    Shops can’t work without SSL.

    Waiting good Release 2.3.14 whith HTTPS admin panel.

    Maybe you can help my config web server

    Apache

    • #user ‘cuff’ virtual host ‘cuff.ru’ configuration file
      <VirtualHost 127.0.0.1:8080>
      ServerName cuff.ru
      AddDefaultCharset off
      AssignUserID cuff cuff
      DirectoryIndex index.html index.php
      DocumentRoot /var/www/cuff/data/www/cuff.ru
      ServerAdmin [email protected]
      ScriptAlias /cgi-bin/ /var/www/cuff/data/www/cuff.ru/cgi-bin/
      CustomLog /var/www/httpd-logs/cuff.ru.access.log combined
      ErrorLog /var/www/httpd-logs/cuff.ru.error.log
      <FilesMatch “\.ph(p[3-5]?|tml)$”>
      SetHandler application/x-httpd-php
      </FilesMatch>
      <FilesMatch “\.phps$”>
      SetHandler application/x-httpd-php-source
      </FilesMatch>
      php_admin_value sendmail_path “/usr/sbin/sendmail -t -i -f [email protected]
      php_admin_value upload_tmp_dir “/var/www/cuff/data/mod-tmp”
      php_admin_value session.save_path “/var/www/cuff/data/mod-tmp”
      php_admin_value open_basedir “/var/www/cuff/data:.”
      </VirtualHost>
      <Directory /var/www/cuff/data/www/cuff.ru>
      Options +ExecCGI
      php_admin_flag engine on
      </Directory>
    • Nginx

    • #user ‘cuff’ virtual host ‘cuff.ru’ configuration file
      server {
      server_name cuff.ru ;
      charset off;
      disable_symlinks if_not_owner from=$root_path;
      index index.html index.php;
      root $root_path;
      set $root_path /var/www/cuff/data/www/cuff.ru;
      ssi on;
      access_log /var/www/httpd-logs/cuff.ru.access.log ;
      error_log /var/www/httpd-logs/cuff.ru.error.log notice;
      include /etc/nginx/vhosts-includes/*.conf;
      location / {
      location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
      try_files $uri $uri/ @fallback;
      }
      location / {
      try_files /does_not_exists @fallback;
      }
      location ~ [^/]\.ph(p\d*|tml)$ {
      try_files /does_not_exists @fallback;
      }
      }
      location @fallback {
      error_log /dev/null crit;
      access_log off ;
      proxy_pass https://127.0.0.1:8080;
      proxy_redirect https://127.0.0.1:8080 /;
      proxy_set_header Host $host;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header X-Forwarded-Proto $scheme;
      }
      listen 172.16.220.6:80;
      listen 185.87.48.205:80;
      }
      server {
      server_name cuff.ru ;
      charset off;
      disable_symlinks if_not_owner from=$root_path;
      index index.html index.php;
      root $root_path;
      set $root_path /var/www/cuff/data/www/cuff.ru;
      ssi on;
      access_log /var/www/httpd-logs/cuff.ru.access.log ;
      error_log /var/www/httpd-logs/cuff.ru.error.log notice;
      include /etc/nginx/vhosts-includes/*.conf;
      location / {
      location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
      try_files $uri $uri/ @fallback;
      }
      location / {
      try_files /does_not_exists @fallback;
      }
      location ~ [^/]\.ph(p\d*|tml)$ {
      try_files /does_not_exists @fallback;
      }
      }
      location @fallback {
      error_log /dev/null crit;
      access_log off ;
      proxy_pass https://127.0.0.1:8080;
      proxy_redirect https://127.0.0.1:8080 /;
      proxy_set_header Host $host;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header X-Forwarded-Proto $scheme;
      }
      listen 172.16.220.6:443;
      listen 185.87.48.205:443;
      ssl on;
      ssl_certificate “/var/www/httpd-cert/cuff/cuff.ru.crtca”;
      ssl_certificate_key “/var/www/httpd-cert/cuff/cuff.ru.key”;
      }
    • I see that trouble many hosting.
      Thnx, I so hope your answer.

      Sorry for my English ))

    Thread Starter kodzero

    (@kodzero)

    Help for this problem

    https://woocommerce.wordpress.com/2015/07/07/woocommerce-2-3-13-security-and-maintenance-release/

    Websites behind load balancers or reverse proxies that support HTTP_X_FORWARDED_PROTO can be fixed by adding the following code to the wp-config.php file, above the require_once call:

    if ( isset( $_SERVER[‘HTTP_X_FORWARDED_PROTO’] ) && ‘https’ == $_SERVER[‘HTTP_X_FORWARDED_PROTO’] ) {
    $_SERVER[‘HTTPS’] = ‘on’;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘2.3.13 https Admin panel not working’ is closed to new replies.