mirror of
https://github.com/thib8956/nginx-proxy
synced 2026-10-31 16:12:25 +00:00
TESTS: separated containers: fix indentation and remove dependency over jwilder/whoami image
This commit is contained in:
1 parent
85370fa31f
commit
9620be91fa
5 files changed
+53
-43
No files matched your search
@@ -17,6 +17,9 @@ class Handler(http.server.SimpleHTTPRequestHandler):
|
||||
elif self.path == "/port":
|
||||
response = "answer from port %s\n" % PORT
|
||||
self.wfile.write(response.encode())
|
||||
elif self.path == "/":
|
||||
response = "I'm %s\n" % os.environ['HOSTNAME']
|
||||
self.wfile.write(response.encode())
|
||||
else:
|
||||
self.wfile.write("No route for this path!\n".encode())
|
||||
|
||||
|
||||
Reference in new issue
Block a user