- Edit your config.php file located at
application/config/config.phpChange value$config['uri_protocol'] = "AUTO";to$config['uri_protocol'] = "REQUEST_URI"; - Put this line
try_files $uri $uri/ /index.php?r=$request_uri;on nginx.conf file located at/etc/nginx/nginx.conf. The nginx.conf file should be like this: - Restart nginx
service nginx restart - Done!
location / { index index.php; try_files $uri $uri/ /index.php?r=$request_uri; }
No comments:
Post a Comment