php -m | grep mbstring
location /phpmyadmin {
root /var/www/apps/;
index index.php index.html index.htm;
location ~ ^/phpmyadmin/(.+\.php)$ {
try_files $uri =404;
root /var/www/apps/phpmyadmin/;
proxy_pass $scheme://localhost:82;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/share/;
}
}
location /phpMyAdmin {
rewrite ^/* /phpmyadmin last;
}
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
$ ssh [user]@[server] 'res=`iperf -c 192.168.1.100 -d | tail -c17` echo ${res}'
$ ssh [user]@[server] 'bash -s' < local_script.sh'