Editing Mediagoblin

From Bibliotheca Anonoma

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
a quick and dirty guide, better docs and maybe puppet config later
== Installation ==
== Installation ==


Line 8: Line 6:
# Set up uWSGI with Nginx [http://nathanielca.se/fossrit/deploying-mediagoblin-1-fastcgi-vs-uwsgi.html as you see in this guide.]
# Set up uWSGI with Nginx [http://nathanielca.se/fossrit/deploying-mediagoblin-1-fastcgi-vs-uwsgi.html as you see in this guide.]


Make sure to install {{ic|nginx-full}} on Debian/Ubuntu, or {{ic|nginx-all-modules}} on CentOS. Then add the following [http://uwsgi-docs.readthedocs.io/en/latest/Nginx.html as stated in this guide:]
Though actually, instead of the config seen in the guide, use this one (since the guide puts the site under {{ic|domain.com/mediagoblin/}}, which is not what we want.)
 
{{hc|/etc/nginx/uWSGI_params|<nowiki>
uwsgi_param QUERY_STRING $query_string;
uwsgi_param REQUEST_METHOD $request_method;
uwsgi_param CONTENT_TYPE $content_type;
uwsgi_param CONTENT_LENGTH $content_length;
uwsgi_param REQUEST_URI $request_uri;
uwsgi_param PATH_INFO $document_uri;
uwsgi_param DOCUMENT_ROOT $document_root;
uwsgi_param SERVER_PROTOCOL $server_protocol;
uwsgi_param REMOTE_ADDR $remote_addr;
uwsgi_param REMOTE_PORT $remote_port;
uwsgi_param SERVER_ADDR $server_addr;
uwsgi_param SERVER_PORT $server_port;
uwsgi_param SERVER_NAME $server_name;
</nowiki>}}
 
Though actually, instead of the config seen in the guide, use this one (since the guide has a typo for uwsgi_pass, and puts the site under {{ic|domain.com/mediagoblin/}}, which is not what we want.)


{{hc|/etc/nginx/conf.d/mediagoblin.conf|<nowiki>location / {
{{hc|/etc/nginx/conf.d/mediagoblin.conf|<nowiki>location / {
Please note that all contributions to Bibliotheca Anonoma are considered to be released under the Creative Commons Attribution-ShareAlike (see Bibliotheca Anonoma:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Templates used on this page: