diff options
| author | 2013-12-15 14:00:42 +0100 | |
|---|---|---|
| committer | 2013-12-15 14:00:42 +0100 | |
| commit | 8fbde7a43b4f838df0379fdb4acd791713b639b7 (patch) | |
| tree | bb7e78afc6a34823e078ab64c6965321c6866e85 /pyload/config/default.py | |
| parent | added new file states (diff) | |
| download | pyload-8fbde7a43b4f838df0379fdb4acd791713b639b7.tar.xz | |
more options to get webUI through proxy working
Diffstat (limited to 'pyload/config/default.py')
| -rw-r--r-- | pyload/config/default.py | 12 | 
1 files changed, 4 insertions, 8 deletions
diff --git a/pyload/config/default.py b/pyload/config/default.py index 5a02ef758..26152a09a 100644 --- a/pyload/config/default.py +++ b/pyload/config/default.py @@ -11,12 +11,6 @@ def make_config(config):      # Check if gettext is installed      _ = lambda x: x -    config.addConfigSection("remote", _("Remote"), _("Description"), _("Long description"), -                            [ -                                ("port", "int", _("Port"), 7227), -                                ("listenaddr", "ip", _("Address"), "0.0.0.0"), -                            ]) -      config.addConfigSection("log", _("Log"), _("Description"), _("Long description"),                              [                                  ("log_size", "int", _("Size in kb"), 100), @@ -58,16 +52,18 @@ def make_config(config):                                  ("key", "file", _("SSL Key"), "ssl.key"),                              ]) -    config.addConfigSection("webinterface", _("Webinterface"), _("Description"), _("Long description"), +    config.addConfigSection("webUI", _("webUI"), _("Description"), _("Long description"),                              [                                  ("template", "str", _("Template"), "default"), -                                ("activated", "bool", _("Activated"), True),                                  ("prefix", "str", _("Path Prefix"), ""), +                                ("external", "bool", _("Served external"), False),                                  ("server", "auto;threaded;fallback;fastcgi", _("Server"), "auto"),                                  ("force_server", "str", _("Favor specific server"), ""),                                  ("host", "ip", _("IP"), "0.0.0.0"),                                  ("https", "bool", _("Use HTTPS"), False),                                  ("port", "int", _("Port"), 8001), +                                ("wsHost", "ip", _("IP"), "0.0.0.0"), +                                ("wsPort", "int", _("Port"), 7227),                                  ("develop", "bool", _("Development mode"), False),                              ])  | 
