All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anrisoftware.sscontrol.httpd.nginx.generalproxy.linux.templates.config.stg Maven / Gradle / Ivy

There is a newer version: 1.0-alpha-4
Show newest version
domainConfig(args) ::= <<









location  {
    proxy_cache_key "$scheme://$host$request_uri";
    proxy_cache ;
    proxy_pass ;
}


location ~* /.*\.()$ {
    proxy_cache_valid 200 ;
    expires ;
    proxy_pass ;
    proxy_cache ;
}



location ~* /.*\/[^\/]+\/(feed|\.xml)\/? {
    # Cache RSS looking feeds
    proxy_cache_key "$scheme://$host$request_uri";
    proxy_cache_valid 200 ;
    proxy_cache ;
    proxy_pass ;
}


>>

proxyTimeouts(args) ::= <<
# proxy timeouts
proxy_connect_timeout ;
proxy_read_timeout ;
proxy_send_timeout ;

>>

proxyHeaders(args) ::= <<
# proxy headers
<({proxySetHeaders})(args.properties)>
proxy_redirect onoff;

>>

proxySetHeadersDomainImpl(properties) ::= <<

>>

proxySetHeadersSslDomainImpl(properties) ::= <<

>>

proxySetHeaders(header) ::= <%
proxy_set_header 
; %> proxyCacheConf(proxy, properties) ::= << # - Robobee Proxy for "" - # - Auto-generated - # proxy_cache_path / levels=1:2 keys_zone=: max_size=; >>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy