User talk:Simon/Keeping private
< User talk:Simon
Revision as of 20:52, 10 June 2020 by Simon (talk | contribs) (Created page with "150px|thumb|Poster announcing the bootleg library, July 2019 {{User:Simon/prototypes/calibre-web_configuration}} Category: Library Snipp...")
calibre-web configuration
This is the configuration for calibre-web to listen on localhost:
--- a/cps/server.py +++ b/cps/server.py @@ -152,7 +152,7 @@ class WebServer(object): http_server = HTTPServer(WSGIContainer(self.app), max_buffer_size=209700000, ssl_options=self.ssl_args) - http_server.listen(self.listen_port, self.listen_address) + http_server.listen(self.listen_port, address="127.0.0.1") self.wsgiserver = IOLoop.instance() self.wsgiserver.start() # wait for stop signal