Enable Mod_rewrite Nginx


Cara mudah enable mod_rewrite Nginx. Tambahkan try_files $uri $uri/ /index.php?$args; di konfigurasi host nginx.

Enable Mod_rewrite Nginx

# nano /etc/nginx/sites-available/host.conf
server {       ...        location / {            try_files $uri $uri/ /index.php?$args;        }}
# /etc/init.d/nginx restart


Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv