Closed RealOrangeOne closed 1 year ago
Raised upstream: https://github.com/PeterJCLaw/code-submitter/issues/31
Comparing to the old setup (i.e: on patience
via https://github.com/srobo/server-puppet/blob/master/modules/www/templates/nginx.conf.erb) it looks like the thing which is extra here is that the server being proxied didn't previously care about its hostname -- it didn't redirect users if the hostname was wrong. I think that that behaviour is probably more correct for a server which we know is going to be behind a proxy.
Summary
The code submitter always uses absolute URLs (including domain). It only sees the competitorsvcs hostname, so uses this for the URLs. Now we allow the competitorsvcs VM to accept traffic with a
studentrobotics.org
hostCode review
Testing
Links