dendrite/server/templates/nginx.conf.j2
changeset 202 252069788104
parent 200 10051617d075
equal deleted inserted replaced
201:e209c4dc5280 202:252069788104
    35     proxy_set_header X-Forwarded-For   $remote_addr;
    35     proxy_set_header X-Forwarded-For   $remote_addr;
    36     proxy_set_header X-Forwarded-Proto $scheme;
    36     proxy_set_header X-Forwarded-Proto $scheme;
    37     proxy_read_timeout                 600;
    37     proxy_read_timeout                 600;
    38 
    38 
    39     location /_matrix {
    39     location /_matrix {
    40         set $upstream http://127.0.0.1:{{nginx_proxy_port}};
    40         proxy_pass http://127.0.0.1:{{nginx_proxy_port}};
    41         proxy_pass $upstream;
       
    42     }
    41     }
    43 
    42 
    44     root /var/www/{{nginx_server_name}};
    43     root /var/www/{{nginx_server_name}};
    45     index index.html;
    44     index index.html;
    46 
    45