Добрый день.
Установил ssl сертификат включил в админке, все работает отлично (по крайне мере я ничего из ошибок не увидел), переключил на сайт переадресация с http на https идет без косяков, ссылки корректные, но при переходе на них получаю 404 ошибку.
Сразу пал глаз на модуль SEO, выключил и обновил кэш и проблема исчезла но ссылки имеют не красивый вид... а стр. уже в индексе!.
Собственно найти откуда ноги растут не могу :-(.
PS*: Конфигурация CentOS 7, nginx+php-fpm+php7
PS**: Модуль SEO переустанавливал и проверял права на папки.
PS***: главная страница работает без ошибок и корректно отображается.
config прилагаю:
server { listen 99.99.99.99:80; server_name sitename.com.ua www.sitename.com.ua; root /home/admin/web/sitename.com.ua/public_html; index index.php index.html index.htm; access_log /var/log/nginx/domains/sitename.com.ua.log combined; access_log /var/log/nginx/domains/sitename.com.ua.bytes bytes; error_log /var/log/nginx/domains/sitename.com.ua.error.log error;gzip on; gzip_disable "msie6"; gzip_comp_level 6; gzip_min_length 1100; gzip_buffers 16 8k; gzip_proxied any; gzip_types text/plain application/xml application/javascript text/css text/js text/xml application/x-javascript text/javascript application/json application/xml+rss application/x-font-ttf application/x-font-otf application/x-font-woff application/font-woff image/x-icon ico font/opentype; client_max_body_size 100m; client_body_buffer_size 128k; client_header_timeout 3m; client_body_timeout 3m; send_timeout 3m; client_header_buffer_size 1k; large_client_header_buffers 4 16k; location / { root /home/admin/web/sitename.com.ua/public_html; index index.php index.html index.htm; rewrite ^/api/(.*)$ /api.php?_d=$1&ajax_custom=1&$args last; try_files $uri $uri/ @fallback; } location @fallback { rewrite ^(.*)$ /index.php?$args last; } location ~* \.(jpeg|ico|jpg|gif|png|css|js|pdf|txt|tar|gz|wof|csv|zip|woff|ttf) { access_log off; try_files $uri @statics; expires 14d; add_header Access-Control-Allow-Origin *; add_header Cache-Control public; root /home/admin/web/sitename.com.ua/public_html; } location @statics { rewrite ^/(\w+)/(.*)$ /$2 break; access_log off; rewrite_log off; expires 14d; add_header Cache-Control public; add_header Access-Control-Allow-Origin *; root /home/admin/web/sitename.com.ua/public_html; } location ~ \.php$ { set $path_info $fastcgi_path_info; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(/.*)$; try_files $uri $uri/ /index.php$is_args$args; include /etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $request_filename; #fastcgi_param APP_ENV dev; fastcgi_read_timeout 3600; } location /app/ { deny all; location ^~ /app/addons/rus_exim_1c/exim_1c.php { allow all; } } location /app/payments/ { allow all; } location /design/ { allow all; location ~* \.([tT][pP][lL]|[pP][hH][pP].?)$ { deny all; } } location /images/ { allow all; location ~* \.([pP][hH][pP].?)$ { deny all; } } location /var/database/ { deny all; } location /var/skins_repository/ { allow all; location ~* \.([tT][pP][lL]|[pP][hH][pP].?)$ { deny all; } } location ~* api/ { rewrite ^/api/(.*)$ /api.php?_d=$1&ajax_custom=1&$args last; } location ~ /\.ht { deny all; } error_page 403 /error/404.html; error_page 404 /error/404.html; error_page 500 502 503 504 /error/50x.html; location /error/ { alias /home/admin/web/sitename.com.ua/document_errors/; } location ~* "/\.(htaccess|htpasswd)$" { deny all; return 404; } include /etc/nginx/conf.d/phpmyadmin.inc*; include /etc/nginx/conf.d/phppgadmin.inc*; include /etc/nginx/conf.d/webmail.inc*;
}