Open 7dir opened 4 years ago
server { server_name www.example.com; rewrite ^(.+)$ http://example.com/$1 permanent; }
https://stackoverflow.com/questions/22891148/nginx-how-to-run-a-shell-script-on-every-request