roles/pleroma/templates/pleroma.nginx.conf.j2
changeset 67 bd34ae082697
parent 61 2dd82d9e2103
child 69 be979818d483
equal deleted inserted replaced
66:652a236229c2 67:bd34ae082697
    79         proxy_http_version 1.1;
    79         proxy_http_version 1.1;
    80         proxy_set_header Upgrade $http_upgrade;
    80         proxy_set_header Upgrade $http_upgrade;
    81         proxy_set_header Connection "upgrade";
    81         proxy_set_header Connection "upgrade";
    82         proxy_set_header Host $http_host;
    82         proxy_set_header Host $http_host;
    83 
    83 
    84         proxy_pass {{nginx_proxy}};
    84         proxy_pass {{pleroma_url}};
    85 
    85 
    86         client_max_body_size 16m;
    86         client_max_body_size 16m;
    87     }
    87     }
    88 
    88 
    89     location /proxy {
    89     location /proxy {
    90         proxy_cache pleroma_media_cache;
    90         proxy_cache pleroma_media_cache;
    91         proxy_cache_lock on;
    91         proxy_cache_lock on;
    92         proxy_ignore_client_abort on;
    92         proxy_ignore_client_abort on;
    93         proxy_pass {{nginx_proxy}};
    93         proxy_pass {{pleroma_url}};
    94     }
    94     }
    95 }
    95 }