dendrite/server/templates/nginx.conf.j2
changeset 200 10051617d075
parent 167 e3c49bf5fae9
child 202 252069788104
equal deleted inserted replaced
199:9aa5f284ea10 200:10051617d075
    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         proxy_pass http://127.0.0.1:{{nginx_proxy_port}};
    40         set $upstream http://127.0.0.1:{{nginx_proxy_port}};
       
    41         proxy_pass $upstream;
    41     }
    42     }
    42 
    43 
    43     root /var/www/{{nginx_server_name}};
    44     root /var/www/{{nginx_server_name}};
    44     index index.html;
    45     index index.html;
    45 
    46