worked on README.md, script generates temp dir

This commit is contained in:
root 2014-12-26 09:33:20 +01:00
parent 02cdc09b76
commit 476635219b
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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")