Open canercandan opened 11 years ago
[Unit] Description=Django OpenUDC [Service] Type=forking User=root Group=root PIDFile=/tmp/django-openudc.pid ExecStart=/usr/bin/python2 /opt/django-openudc/manage.py runfcgi workdir=/opt/django-openudc method=threaded host=127.0.0.1 port=3033 pidfile=/tmp/django-openudc.pid [Install] WantedBy=multi-user.target
server { server_name demo.openudc.org; server_name demo.open-udc.org; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location / { # fastcgi_pass unix:///tmp/openudc.sock; fastcgi_pass 127.0.0.1:3033; # necessary parameter fastcgi_param PATH_INFO $fastcgi_script_name; # to deal with POST requests fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; # http://stackoverflow.com/questions/605173/how-to-nginx-virtual-servers-fcgi-for-django uses many other parameters, # some may be necessary in some situations fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; fastcgi_param SERVER_PROTOCOL $server_protocol; # include fastcgi.conf; } location /static { alias /opt/django-openudc/static; autoindex off; } }
I just installed two AMQP servers on two different virtual machines:
Installing another instance of openudc in the second server in case it is needed
In the continuity of #12, I need to install rabbitmq on the openudc server in order to test it on WAN