Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nano /usr/local/apps/nginx/etc/conf.d/common => nginx htaccess
- if (!-e $request_filename)
- {
- rewrite ^(.+)$ /index.php?q=$1 last;
- }
- #catch all
- error_page 404 = /index.php;
- location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
- expires max;
- log_not_found off;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement