Commit 97859633 authored by Lasse Karstensen's avatar Lasse Karstensen

cleanups for use in production

parent 9fe2fe0a
......@@ -93,7 +93,7 @@ which is sent to the backend. (and used for cache lookups)
Example: enable devicedetection, go to /set_ua_device/mobile-iphone . Afterwards, access your site as usual. You will now
get the content as if your browser was an iPhone. Watch out for the TTL settings.
There is an example web server in backend/ that listens on port 8000 and replies
There is an example web server in backend/ that listens on port 5911 and replies
differently depending on X-UA-Device. Run it with:
cd backend
......@@ -101,7 +101,7 @@ differently depending on X-UA-Device. Run it with:
Now you can access it through:
http://localhost:8000/devicetest/
http://localhost:5911/devicetest/
OR
http://localhost:6081/devicetest/ # exchange 6081 for your varnish listening port.
......
......@@ -54,7 +54,7 @@ class requesthandler(BaseHTTPRequestHandler):
self.wfile.write(TAIL_CONTENT)
def main():
server_address = ('', 8000)
server_address = ('', 5911)
httpd = HTTPServer(server_address, requesthandler)
httpd.serve_forever()
......
......@@ -6,7 +6,7 @@
backend devicetest {
.host = "127.0.0.1";
.port = "8000";
.port = "5911";
}
sub vcl_recv {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment