Rewrite URL
https://www.nginx.com/blog/creating-nginx-rewrite-rules/
etc / nginx / sites-available / https.conf
example:
server { location /notes/note { rewrite ^/notes/note/(.*)$ /notes/index.php?action=note&id=$1 last; } }
https://www.nginx.com/blog/creating-nginx-rewrite-rules/
etc / nginx / sites-available / https.conf
example:
server { location /notes/note { rewrite ^/notes/note/(.*)$ /notes/index.php?action=note&id=$1 last; } }