skip to Main Content

ASP.NET with nginx and docker: Connection refused

Getting the following nginx error when hitting localhost on the host cron-job-server-nginx-1 | 172.18.0.2 - - [29/Mar/2023:09:56:23 +0000] "GET / HTTP/1.1" 502 157 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0" cron-job-server-nginx-1 | 2023/03/29 09:56:23 [error] 22#22: *1 connect() failed…

VIEW QUESTION

Spring Boot Swagger through Nginx does not work correctly – Javascript

I have configured two services running in separate containers through nginx. Nginx configuration: server { listen 8080; location /template-order-service/ { proxy_pass_request_headers on; proxy_set_header Host $host; proxy_pass http://template-order-service:8082/; } location /template-product-service/ { proxy_pass_request_headers on; proxy_set_header Host $host; proxy_pass http://template-product-service:8083/; } }…

VIEW QUESTION
Back To Top
Search