Answer the question
In order to leave comments, you need to log in
Where did I go wrong with Nginx?
I can't figure out where I messed up. You need to do this:
# Только чтобы 127.0.0.1:8080/dev обрабатывался
location /dev {
proxy_pass http://127.0.0.1:8080/dev$request_uri;
}
# Все остальные запросы
location / {
proxy_pass http://127.0.0.1:8080/v1$request_uri;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question