In order to rewrite for example:
https://www.teusonho.org/symbol/casa to /symbol.php=casa
You can use:
location /symbol {
rewrite ^/symbol/([^/\.]*)$ /symbol.php?symbol=$1;
}
Points regarding computing that I always forget - so I write them here to find them easily and maybe other could benefit too.
In order to rewrite for example:
https://www.teusonho.org/symbol/casa to /symbol.php=casa
You can use:
location /symbol {
rewrite ^/symbol/([^/\.]*)$ /symbol.php?symbol=$1;
}
When loading and importing a large .sql mysql dump file and you wish to know how long is it going to take and where does the process status is standing using a progress bar from the mysqldump loading you can us pv (pipe viewer)
For example:
pv sqldumpfile.sql | mysql database name
About pv (pipe viewer) utility for Linux: