cs50 / server

https://cs50.readthedocs.io/cs50/server
18 stars 6 forks source link

not including port in production #6

Closed kzidane closed 7 years ago

kzidane commented 7 years ago
$ curl -I http://localhost:8080/cli.html
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Thu, 14 Sep 2017 21:16:11 GMT
Content-Type: text/html
Content-Length: 154
Location: http://localhost:8080/cli
Connection: keep-alive
$ curl -I https://manual.cs50.net/cli.html
HTTP/1.1 302 Moved Temporarily
Cache-control: no-cache="set-cookie"
Content-Length: 154
Content-Type: text/html
Date: Thu, 14 Sep 2017 21:17:44 GMT
Location: http://manual.cs50.net/cli
Server: nginx/1.10.3
Set-Cookie: AWSELB=CB83D98710E2E9D24E2197B807CC4CE925539FD97B1455FAD415000EB26807AF1CA029438AB8619B7C7F4C2A23D2B0AE4A077EB976EC08FB51207615317EDC56FA820B5B6E;PATH=/
Connection: keep-alive
dmalan commented 7 years ago

Thanks! https://github.com/cs50/server/commit/b98002be734168e88f2091e041782484423240d3