R
R
Reddaemon2015-09-03 23:45:00
Nginx
Reddaemon, 2015-09-03 23:45:00

Nginx rewrite why are parameters truncated?

Hey! There is such a rewrite in nginx, you
rewrite ^/city-dashboard2\/(.*)$ /$1 break;
need to write it so that in the request

/ssd/city-dashboard2/car_image?model_id=0&car_id=1021438&type_id=1000
the part after car_image was not cut off. Plz tell me how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill, 2015-09-04
@kshvakov

rewrite ^/city-dashboard2\/(.*)$ /$1?$args break

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question