2
2
2chdotru2013-12-27 10:24:23
Nginx
2chdotru, 2013-12-27 10:24:23

How to implement CNC in Nginx (rewrite)?

There is an address like site.ru/make/filter/?category_id=8&type=&sorttype=...
How to turn it into site.ru/make/ubuntu

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily, 2013-12-27
@2chdotru

It seems to me that nginx has nothing to do with it, this is an application level issue. Or do you mean how to get rid of ? - then
location / {
try_files $uri $uri/ /index.php?q=$args;
}
/ make / ubuntu will be written to q, and then at the application level you decide what and how

S
Sergei Chukhan, 2014-01-07
@street

If you are friends with mod_rewrite for Apache, then winginx.com/htaccess may help you, but it's best to delve into the nginx manual.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question