Changes between Version 150 and Version 151 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
10/03/11 09:50:17 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v150 v151  
    762762  * Test: http://localhost:8080/demo/
    763763  * [http://mapproxy.org/docs/1.2.0/deployment.html#production WSGI configuration]
    764 Apache:
     764=== Apache ===
    765765{{{
    766766vim /etc/apache2/sites-available/proxy
     
    788788/etc/init.d/apache2 force-reload
    789789}}}
    790 Cherokee/uWSGI:
     790=== Cherokee/uWSGI ===
    791791{{{
    792792vim /home/mapproxy/uwsgi.xml
     
    798798    <workers>4</workers>
    799799</uwsgi>
     800
     801vim /usr/local/etc/cherokee/cherokee.conf
     802vserver!30!rule!300!encoder!deflate = allow
     803vserver!30!rule!300!encoder!gzip = allow
     804vserver!30!rule!300!handler = uwsgi
     805vserver!30!rule!300!handler!balancer = round_robin
     806vserver!30!rule!300!handler!balancer!source!10 = 2
     807vserver!30!rule!300!handler!check_file = 0
     808vserver!30!rule!300!handler!error_handler = 1
     809vserver!30!rule!300!handler!pass_req_headers = 1
     810vserver!30!rule!300!handler!xsendfile = 0
     811vserver!30!rule!300!match = directory
     812vserver!30!rule!300!match!directory = /proxy
     813source!2!env_inherited = 1
     814source!2!group = mapproxy
     815source!2!host = 127.0.0.1:59026
     816source!2!interpreter = /usr/local/bin/uwsgi -s 127.0.0.1:59026 -x /home/mapproxy/uwsgi.xml
     817source!2!nick = uWSGI 2
     818source!2!timeout = 300
     819source!2!type = interpreter
     820source!2!user = mapproxy
    800821}}}
    801822  * http://mapproxy.org/docs/1.2.0/configuration.html