N
N
Niriter Inc.2017-07-01 01:26:06
Nginx
Niriter Inc., 2017-07-01 01:26:06

ISPmanager Let's encrypt error?

I decided to install Let's encrypt on ISPmanager, installed during the installation everything was fine, I start adding ssl to my site " http://niriter.ru/ " in the site settings I choose: then
c141b0208b774a52a1e389cb9da8e2a8.jpg

I get this error: I
11cc071969ee4e1fa61a613bee3302b3.png

searched on Google for nothing and Have not found.
Z.s. I know that I am leaking my data, but still I ask you not to do anything dashing, pzh...
here is the code from '/etc/nginx/vhosts/www-root/niriter.ru.conf':

server {
  server_name niriter.ru *.niriter.ru www.niriter.ru;
  charset off;
  index index.html index.php;
  disable_symlinks if_not_owner from=$root_path;
  include /etc/nginx/vhosts-includes/*.conf;
  include /etc/nginx/vhosts-resources/niriter.ru/*.conf;
  access_log /var/www/httpd-logs/niriter.ru.access.log;
  error_log /var/www/httpd-logs/niriter.ru.error.log notice;
  ssi on;
  set $root_path /var/www/www-root/data/www/niriter.ru;
  if ($host ~* ^((.*).niriter.ru)$) {
    set $subdomain $2;
  }
  root $root_path/$subdomain;
  listen 195.133.201.72:80;
  
  
    
    
  
  location / {
        location ~ [^/]\.ph(p\d*|tml)$ {
            try_files /does_not_exists @php;
        }


            location / {
                try_files $uri $uri/ /index.php?$args; # permalinks
                }
  
          }
  location @php {
      fastcgi_index index.php;
      if (!-e $request_filename){
            rewrite ^(.*)$ /index.php break;
        }
    fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f pro100.vce@gmail.com";
    fastcgi_pass unix:/var/www/php-fpm/www-root.sock;
    fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
    try_files $uri =402;
    include fastcgi_params;
  }
  
  set $subdomain "";
}


PS I decided to delete the 40th line while writing this poem and it all worked! "try_files $uri =402;" The issue was resolved before publication, I hope that I still helped someone with this issue.
Hooray!!!!!!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question