Questions tagged [upstream]

34 questions
6
votes
0 answers

NGINX proxy_pass returns content-type HTML instead of content-type JAVASCRIPT

I have the following NGINX config events {} http { access_log /dev/stdout; error_log /dev/stderr; resolver 1.1.1.1 1.0.0.1 valid=5s ipv6=off; # CloudFlare DNS resolver upstream myupstream { server …
Rakib
  • 12,376
  • 16
  • 77
  • 113
3
votes
1 answer

How to fetch upstream and resolve conflicts for a forked branch locally?

I have forked a Github Repo and raised PR for some contribution. Before getting merged, some other commits were made to the parent repo. To fetch upstream I need to resolve conflicts with the upstream. How do I fetch upstream locally and resolve…
Riya Golani
  • 55
  • 1
  • 5
3
votes
1 answer

nginx with upstream occasitionaly delays exact 1 minute

Inner-System HARDWARE : Xeon E-2236 x 32GB x 1TB SSD ) with 4 servers. only for load balancing, for performancing x 2ea , for db CRUD SOFTWARE : centos 7, nginx 1.18, node v12.22.1 When external connection to server, load-balancing server send to…
2
votes
0 answers

Let nginx start if upstream host is unavailable or down

I have several docker container running, which are served by a reverse-proxy. For each service there is a subdomain. Some services I only start when I need them. Thats no problem until the server restarts. Then nginx wont start because the upstream…
Simon2019
  • 39
  • 1
  • 7
2
votes
1 answer

Create a pull request from a repository that is not a fork on github

forking iss not allowed (for this repository on github). So what I did was I cloned the repository to my local folder, Then made my changes and did a commit. then pushed it into my own repository on github. Problem, my repository is not denoted as a…
2
votes
2 answers

Git rebase in developing with an iterative upstream

Git rebase for me is a good way to get a linear history, but recently I got a little confused of its behavior. The situation is that I have my local repo, my origin repo on GitLab and the read-only upstream repo of my course. Basically TAs release…
Kiyoaki
  • 33
  • 5
1
vote
1 answer

Oauth2-proxy - 404 error when redirecting to upstream url (Django application web page)

I'm trying to protect a Django application with oauth2-proxy In the oauth2-proxy configuration: (version 7.2.1 or 7.3.0) When the upstream url is set to something like this: --upstream="http://127.0.0.1:8000" the redirection works fine. (and it…
Ric
  • 65
  • 9
1
vote
1 answer

On the naming of remote repos

Suppose I read an answer such as this one which tells me that the command I want is git fetch : How do I know what to fill in as ? I think the simple answer is that it is always the word origin. I…
Steve Summit
  • 45,437
  • 7
  • 70
  • 103
1
vote
1 answer

zsh: number expected while using `git push --set-upstream` command

I am getting zsh: number expected whenever I`m running the following command:- Command - git push --set-upstream origin branch_name I`m using Oh My Zsh as my terminal in MacBook Pro with M1 chip. I even tried another command like git push -u origin…
Lakshay Rohilla
  • 1,654
  • 6
  • 9
  • 30
1
vote
1 answer

Can't figure out nginx config: *2 no resolver defined to resolve backend

I can't figure out the NGINX config to launch the site. I can’t figure it out myself, all the same, there is not enough theoretical basis. Maybe you can advise. env BACKEND_API; error_log /var/log/nginx/error.log warn; pid …
freeholod
  • 11
  • 2
1
vote
2 answers

nginx: [emerg] "proxy_pass" directive is not allowed here in /etc/nginx/conf.d/rmq.stream.conf:8

My Nginx configuration files, the same contect with different version, the other one is nginx/1.10.3 takes effect , but current version nginx/1.16.1 error occur, detail as below: anom@d2-oradb01:/etc/nginx/conf.d$ sudo nginx -V nginx version:…
Cui3093
  • 13
  • 1
  • 3
1
vote
1 answer

Is there a preferred way to have a downstream table that can take data from one of two upstream tables in datajoint?

We are trying to build flexible schema where, for example, we might have single units that come from one of two places, either a SpikeSorting pipeline that begins from raw data, or imported from a file where spike sorting has already been done. We'd…
1
vote
1 answer

Meaning of 'upstream branch' in rebase

It seems to me that the phrase 'upstream branch' is ambiguous and appears to have two contexts. an upstream branch is one that is tracked by a local branch (see Git Branching - Remote Branches), and an upstream branch is something in the context…
polarise
  • 2,303
  • 1
  • 19
  • 28
0
votes
0 answers

NGINX Load Balancer: [emerg] 1#1: host not found in upstream "server.two:8088" in /etc/nginx/conf.d/alb.conf:27

Trying to build simple example of using NGINX as a load balancer, i am getting the error when starting: [emerg] 1#1: host not found in upstream "server.two:8088" in /etc/nginx/conf.d/alb.conf:27 I know that this issue can be related to the server…
0
votes
0 answers

How are feed views meant to be used?

According to the documentation: Feed views enable developers to share a subset of package-versions with their consumers. Okay, got it. I know how to promote a package to a view but... how exactly am I supposed to "share" the packages from that…
Adrian
  • 1,558
  • 1
  • 13
  • 31
1
2 3