worked on README.md, script generates temp dir
This commit is contained in:
parent
02cdc09b76
commit
476635219b
@ -1,3 +1,8 @@
|
||||
# Automated Nginx reverse Proxy for Docker Webservices
|
||||
|
||||
## Requirements
|
||||
|
||||
1. installed nginx
|
||||
2. adapted nginx configuration
|
||||
3. docker daemon must be configured to listen to TCP port
|
||||
4. existing /tmp/nginx to store proxy files
|
||||
|
@ -112,6 +112,8 @@ def handle_event(event):
|
||||
print('HUPing nginx')
|
||||
os.kill(pid, signal.SIGHUP)
|
||||
|
||||
os.mkdir(target_path)
|
||||
|
||||
pid = get_pid()
|
||||
|
||||
conn = http.client.HTTPConnection("localhost:2375")
|
||||
|
Loading…
Reference in New Issue
Block a user