http server port could be a default variable in .ini files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sloecode |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
Even in production mode I tend to prefer running paster server as a normal user on an unprivileged port (say 8000) and to use a nginx reverse proxy (eventually on a different host) for serving port 80.
In this case, the default production.ini file has issues concerning xmlrpc endpoint because changes in http server port are not propagated to the smart server configuration. It leads to obscure (for me) error messages during bzr authentication with the twisted server.
I think setting a "http_server_port = 8000" in [default] and then using this variable could solve this problem.
Here are the proposed modification in .ini file:
[DEFAULT]
http_server_port = 8000 #or whatever
[server:main]
port = %(http_
# Configuration for twistd smart server:
[smartserver]
xmlrpc_
Adrien
Related branches
Changed in sloecode: | |
milestone: | none → 1.1 |
Changed in sloecode: | |
status: | Confirmed → Fix Committed |
Changed in sloecode: | |
status: | Fix Committed → Fix Released |
I agree. This was an oversight. I'll fix it for the next stable release.