Custom Query (1166 matches)
Results (58 - 60 of 1166)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#5546 | wontfix | Server hardly hostable behind nginx proxy_pass and https | ||
Description |
I am currently hosting my GMG instance behind a nginx proxy using the following line: proxy_pass http://localhost:6543; Since the fastcgi configuration is totally not working (flup errors) this is currently the only way I have to host my GMG. It is behind a secured nginx server with letsencrypt support. However API URLs are returning http://localhost:6543/api/... urls because GMG does not know it is behind a proxy. I managed to make everything work with the following nginx config: location / { proxy_pass http://127.0.0.1:6543; proxy_set_header Host $host; } And this modification in app.py in order to enforce https: request.environ['wsgi.url_scheme'] = 'https' However this is hacky. I am not familiar enough with wsgi stuff to propose a patch but hosting via proxy should be way simpler than this hacking. Maybe propose new configuration parameters such as ENFORCE_HTTPS or stuff. |
|||
#5545 | fixed | Missing celeryd executable on a fresh clone | ||
Description |
The celeryd executable is no longer available, and thus calling ./lazycelery.sh will fail. See attached file for proposed solution. User needs to start an AMQP server, such as RabbitMQ, in order for the broken to start. |
|||
#5543 | fixed | mediagoblin/api/host-meta.xml template not found | ||
Description |
A user trying to connect to my instance with a third-party client resulted in the following log entries. Error - <class 'jinja2.exceptions.TemplateNotFound'>: mediagoblin/api/host-meta.xml File '/path/to/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__ app_iter = self.application(environ, sr_checker) File '/path/to/mediagoblin/mediagoblin/app.py', line 342 in __call__ return self.call_backend(environ, start_response) File '/path/to/mediagoblin/lib/python2.7/site-packages/Werkzeug-0.10.1-py2.7.egg/werkzeug/wsgi.py', line 591 in __call__ return self.app(environ, start_response) File '/path/to/mediagoblin/mediagoblin/app.py', line 276 in call_backend return self._finish_call_backend(request, environ, start_response) File '/path/to/mediagoblin/mediagoblin/app.py', line 318 in _finish_call_backend response = controller(request) File '/path/to/mediagoblin/mediagoblin/api/views.py', line 772 in host_meta mimetype="application/xrd+xml" File '/path/to/mediagoblin/mediagoblin/tools/response.py', line 36 in render_to_response render_template(request, template, context), File '/path/to/mediagoblin/mediagoblin/tools/template.py', line 125 in render_template template_path) File '/path/to/mediagoblin/lib/python2.7/site-packages/Jinja2-2.7.3-py2.7.egg/jinja2/environment.py', line 791 in get_template return self._load_template(name, self.make_globals(globals)) File '/path/to/mediagoblin/lib/python2.7/site-packages/Jinja2-2.7.3-py2.7.egg/jinja2/environment.py', line 765 in _load_template template = self.loader.load(self, name, globals) File '/path/to/mediagoblin/lib/python2.7/site-packages/Jinja2-2.7.3-py2.7.egg/jinja2/loaders.py', line 398 in load raise TemplateNotFound(name) TemplateNotFound: mediagoblin/api/host-meta.xml |