Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http {
- ...
- server {
- ...
- location = /favicon.ico {
- rewrite ^ /index.php;
- log_not_found off;
- }
- location = /robots.txt {
- rewrite ^ /index.php;
- log_not_found off;
- }
- location / {
- try_files $uri $uri/ /index.php?$args;
- }
- ...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement