Проблема с этим переходом
http://www.infoteka.pw -> http://infoteka.pw -> https://infoteka.pw
set $base /var/www/lfp/data/www/domain.com;
root $base/var/www/lfp/data/www/domain.com;
root /var/www/lfp/data/www/domain.com/var/www/lfp/data/www/domain.com;
location ~* ^/images/.+\.(jpg|jpeg|gif|png|svg)$ {
if ($request_method !~ ^(GET|HEAD)$) {
proxy_pass http://images/;
}
if ($request_method ~ ^(GET|HEAD)$) {
try_files $uri $uri/;
}
}
server {
listen 80;
server_name example.com www.example.com *.example.com;
# listen [::]:80;
access_log off;
#include acme;?
location / {
return 301 https://example.com$request_uri;
}
}