Answer the question
In order to leave comments, you need to log in
Why is proxy proxy not working?
There is imgproxy - a microservice running in the docker on port 13333. I successfully proxy it with nginx.
server {
listen 80;
server_name imgproxy-server.loc;
location / {
proxy_pass http://127.0.0.1:13333;
include proxy_params;
}
}
upstream imgproxy {
server imgproxy-server.loc;
}
server {
listen 80;
server_name example.loc;
location /images {
proxy_pass http://imgproxy;
include proxy_params;
# proxy_pass http://127.0.0.1:13333; # работает ок
# include proxy_params; # работает ок
}
}
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