[sisyphus] cctv & face control

.. gbimobou gmail.com
4 04:34:43 MSK 2017


03.10.2017 20:49,   :
> 03.10.2017 11:51, ..  :
>> 02.10.2017 22:40,   :
>>>  ݣ  phpMyAdmin ,   nginx      .
>>
>>       .
>>
>   , .

  ӣ .

###############################
# cat /etc/nginx/sites-enabled.d/phpMyAdmin.conf
server {
  listen 80;
  server_name myadmin myadmin.tld;
  rewrite ^ https://$server_name$request_uri permanent;
}
server {
  listen 443 ssl;
  server_name myadmin myadmin.tld;
  ssl_certificate ssl/myadmin.pem;
  ssl_certificate_key ssl/myadmin.pem;
  root /var/www/webapps/phpMyAdmin;
  access_log /var/log/nginx/myadmin-access.log;
  error_log /var/log/nginx/myadmin-error.log;
  include templates.d/default.conf;
}

################################
# sed /^#/d /etc/nginx/templates.d/default.conf

index index.html index.php;
error_page 404 /404.html;

location / { # ""   Drupal     CMS
  try_files $uri $uri/ /index.php?q=$uri&$args;
  autoindex on;
  autoindex_localtime on;
}
location ~ /\.ht { #     .htaccess  .htpassword
  deny all;
}
location = /favicon.ico {
  log_not_found off;
  access_log off;
}
location = /robots.txt {
  allow all;
  log_not_found off;
  access_log off;
}
location /status {
  stub_status on;
  access_log off;
}
location ~ \.php$ {
  try_files $uri =404;
  fastcgi_pass unix:/var/run/php5-fpm/socket;
  fastcgi_index index.php;
  include fastcgi.conf;
}

>    ,  ... :)

-- 
 .
WBR, rednex CIO.
Viber = +7(964)103-65-67
JID = <mailto:>
Skype = $local_part@<mailto:>



Sisyphus