Update nginx.conf

master
Nikola Forró 6 years ago
parent edadbbe675
commit b5f1af09c9

@ -62,7 +62,16 @@ http {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1; proxy_http_version 1.1;
tcp_nodelay on; tcp_nodelay on;
proxy_pass http://api:5000/; proxy_pass http://quotes-api:5000/;
}
location ^~ /comments/api/ {
rewrite ^/comments/api(/.*)$ $1 break;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1;
tcp_nodelay on;
proxy_pass http://comments-api:5000/;
} }
location ~ /\.ht { location ~ /\.ht {

Loading…
Cancel
Save