Skip to content

Commit

Permalink
nginx test
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau committed Dec 26, 2023
1 parent dda0e11 commit 987def1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ server {
try_files $uri /index.html =404;
}
location /api {
resolver 127.0.0.11 valid=30s;
resolver 127.0.0.11 172.17.0.10 kube-dns.kube-system.svc.cluster.local valid=30s;
set $upstreame PLACEHOLDER;
proxy_pass $upstreame;
proxy_http_version 1.1;
Expand All @@ -16,7 +16,7 @@ server {
}

location /v1 {
resolver 8.8.8.8 valid=30s ipv6=off;
resolver 127.0.0.11 172.17.0.10 kube-dns.kube-system.svc.cluster.local 8.8.8.8 valid=30s ipv6=off;
set $upstreame https://api.mangaupdates.com;
proxy_pass $upstreame;
proxy_http_version 1.1;
Expand Down

0 comments on commit 987def1

Please sign in to comment.