Хочу сделать парционирование по дате, но мне постоянно выдает ошибки по типу
A PRIMARY KEY must include all columns in the table's partitioning function
server {
listen *:443 ssl;
server_name domain1.com;
ssl_certificate /path/to/domain1.crt;
ssl_certificate_key /path/to/domain1.key;
location / {
proxy_pass http://myapp1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen *:443 ssl;
server_name domain2.com;
ssl_certificate /path/to/domain2.crt;
ssl_certificate_key /path/to/domain2.key;
location / {
proxy_pass http://myapp1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}
}
location ~ ^/(test/[^/]+)/test2/$ {
return 301 /$1/;
}
rewrite ^/(test/[^/]+)/test2/$ /$1/ permanent;
$file = file_get_contents($url); // тут ваша функция загрузки
$image = imagecreatefromstring($file);
remote: ! Requested runtime (python-3.8.2) is not available for this stack (heroku-20).
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support
Requested runtime (python-3.8.2) is not available for this stack (heroku-20).