From 9a1ff86ab7eeb0cf5f21ebe927737a99675e7594 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 3 Sep 2020 11:11:31 +0200 Subject: Add Support for Unix Domain Sockets --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 40770bc..0cd7c61 100755 --- a/main.py +++ b/main.py @@ -44,5 +44,6 @@ def favicon(): if __name__ == '__main__': - serve(app, listen='*:8080') # production server + serve(app, listen='*:8080') # production server / bind to port + #serve(app, unix_socket='/run/web-template/unix.sock') # production server / unix domain socket #app.run() # debug server - NOT FOR PRODUCTION! -- cgit v1.2.3-70-g09d2