Custom Query (1166 matches)


Show under each result:

Results (58 - 60 of 1166)

Ticket Resolution Summary Owner Reporter
#5546 wontfix Server hardly hostable behind nginx proxy_pass and https microjoe

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_set_header Host       $host;

And this modification in 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 microjoe

The celeryd executable is no longer available, and thus calling ./ 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 ayleph

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-', line 144 in __call__
  app_iter = self.application(environ, sr_checker)
File '/path/to/mediagoblin/mediagoblin/', 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/', line 591 in __call__
  return, start_response)
File '/path/to/mediagoblin/mediagoblin/', line 276 in call_backend
  return self._finish_call_backend(request, environ, start_response)
File '/path/to/mediagoblin/mediagoblin/', line 318 in _finish_call_backend
  response = controller(request)
File '/path/to/mediagoblin/mediagoblin/api/', line 772 in host_meta
File '/path/to/mediagoblin/mediagoblin/tools/', line 36 in render_to_response
  render_template(request, template, context),
File '/path/to/mediagoblin/mediagoblin/tools/', line 125 in render_template
File '/path/to/mediagoblin/lib/python2.7/site-packages/Jinja2-2.7.3-py2.7.egg/jinja2/', 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/', 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/', line 398 in load
  raise TemplateNotFound(name)
TemplateNotFound: mediagoblin/api/host-meta.xml
Note: See TracQuery for help on using queries.