Nginx Varnish Configuration issue












0














I'm trying to install varnish with ssl from this link:
https://www.linode.com/docs/websites/varnish/use-varnish-and-nginx-to-serve-wordpress-over-ssl-and-http-on-debian-8/



I did everything like post but now I got "This site can't be reached. example.com refused to connect" error.I just missing little bit thing I'm sure but i don't know where.



Here /etc/nginx/sites-available/default :



    server {
listen 443 ssl;
listen [::]:443 ssl;
server_name example.com www.example.com;
port_in_redirect off;

ssl on;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS;
ssl_prefer_server_ciphers on;

ssl_session_cache shared:SSL:20m;
ssl_session_timeout 60m;

add_header Strict-Transport-Security "max-age=31536000";
add_header X-Content-Type-Options nosniff;

location / {
proxy_pass http://127.0.0.1:80;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header HTTPS "on";

access_log /var/www/html/logs/access.log;
error_log /var/www/html/logs/error.log notice;
}
}

server {
listen 8080;
listen [::]:8080;
server_name example.com www.example.com;
root /var/www/html;
index index.php;
port_in_redirect off;

location / {
try_files $uri $uri/ /index.php?$args;
}

location ~ .php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+.php)(/.+)$;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS on;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
}


here is /etc/default/varnish (I just change this lines):



DAEMON_OPTS="-a :80 
-T localhost:6082
-f /etc/varnish/custom.vcl
-S /etc/varnish/secret
-s malloc,1G"


here /etc/varnish/custom.vcl



vcl 4.0;

backend default {
.host = "localhost";
.port = "8080";
}

acl purger {
"localhost";
"142.93.244.9";
}

sub vcl_recv {
if (client.ip != "127.0.0.1" && req.http.host ~ "example.com") {
set req.http.x-redir = "https://www.example.com" + req.url;
return(synth(850, ""));
}

if (req.method == "PURGE") {
if (!client.ip ~ purger) {
return(synth(405, "This IP is not allowed to send PURGE requests."));
}
return (purge);
}

if (req.restarts == 0) {
if (req.http.X-Forwarded-For) {
set req.http.X-Forwarded-For = client.ip;
}
}

if (req.http.Authorization || req.method == "POST") {
return (pass);
}

if (req.url ~ "/feed") {
return (pass);
}

if (req.url ~ "wp-admin|wp-login") {
return (pass);
}

set req.http.cookie = regsuball(req.http.cookie, "wp-settings-d+=[^;]+(; )?", "");

set req.http.cookie = regsuball(req.http.cookie, "wp-settings-time-d+=[^;]+(; )?", "");

if (req.http.cookie == "") {
unset req.http.cookie;
}
}
#end of vcl_recv

sub vcl_synth {
if (resp.status == 850) {
set resp.http.Location = req.http.x-redir;
set resp.status = 302;
return (deliver);
}
}

sub vcl_purge {
set req.method = "GET";
set req.http.X-Purger = "Purged";
return (restart);
}

sub vcl_backend_response {
set beresp.ttl = 24h;

set beresp.grace = 1h;

if (bereq.url !~ "wp-admin|wp-login|product|cart|checkout|my-account|/?remove_item=") {
unset beresp.http.set-cookie;
}
}

sub vcl_deliver {
if (req.http.X-Purger) {
set resp.http.X-Purger = req.http.X-Purger;
}
}


/lib/systemd/system/varnish.service (I just changed this lines)



ExecStartPre=/usr/sbin/varnishd -C -f /etc/varnish/custom.vcl
ExecStart=/usr/sbin/varnishd -a :80 -T localhost:6082 -f /etc/varnish/custom.vcl -S /etc/varnish/secret -s malloc,1G


Thanks for helping










share|improve this question







New contributor




more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • What do you hope to achieve with "return(synth(850, ""));" ?
    – Gerard H. Pille
    Jan 7 at 1:45










  • Actually I’m not sure but I think it’s part of HTTP to HTTPS redirect
    – more
    Jan 7 at 9:03










  • If I'm not mistaken, the 850 should be a valid HTTP return code, in your case perhaps a 301 or 302, so that the browser would follow the redirect.
    – Gerard H. Pille
    Jan 7 at 12:07
















0














I'm trying to install varnish with ssl from this link:
https://www.linode.com/docs/websites/varnish/use-varnish-and-nginx-to-serve-wordpress-over-ssl-and-http-on-debian-8/



I did everything like post but now I got "This site can't be reached. example.com refused to connect" error.I just missing little bit thing I'm sure but i don't know where.



Here /etc/nginx/sites-available/default :



    server {
listen 443 ssl;
listen [::]:443 ssl;
server_name example.com www.example.com;
port_in_redirect off;

ssl on;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS;
ssl_prefer_server_ciphers on;

ssl_session_cache shared:SSL:20m;
ssl_session_timeout 60m;

add_header Strict-Transport-Security "max-age=31536000";
add_header X-Content-Type-Options nosniff;

location / {
proxy_pass http://127.0.0.1:80;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header HTTPS "on";

access_log /var/www/html/logs/access.log;
error_log /var/www/html/logs/error.log notice;
}
}

server {
listen 8080;
listen [::]:8080;
server_name example.com www.example.com;
root /var/www/html;
index index.php;
port_in_redirect off;

location / {
try_files $uri $uri/ /index.php?$args;
}

location ~ .php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+.php)(/.+)$;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS on;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
}


here is /etc/default/varnish (I just change this lines):



DAEMON_OPTS="-a :80 
-T localhost:6082
-f /etc/varnish/custom.vcl
-S /etc/varnish/secret
-s malloc,1G"


here /etc/varnish/custom.vcl



vcl 4.0;

backend default {
.host = "localhost";
.port = "8080";
}

acl purger {
"localhost";
"142.93.244.9";
}

sub vcl_recv {
if (client.ip != "127.0.0.1" && req.http.host ~ "example.com") {
set req.http.x-redir = "https://www.example.com" + req.url;
return(synth(850, ""));
}

if (req.method == "PURGE") {
if (!client.ip ~ purger) {
return(synth(405, "This IP is not allowed to send PURGE requests."));
}
return (purge);
}

if (req.restarts == 0) {
if (req.http.X-Forwarded-For) {
set req.http.X-Forwarded-For = client.ip;
}
}

if (req.http.Authorization || req.method == "POST") {
return (pass);
}

if (req.url ~ "/feed") {
return (pass);
}

if (req.url ~ "wp-admin|wp-login") {
return (pass);
}

set req.http.cookie = regsuball(req.http.cookie, "wp-settings-d+=[^;]+(; )?", "");

set req.http.cookie = regsuball(req.http.cookie, "wp-settings-time-d+=[^;]+(; )?", "");

if (req.http.cookie == "") {
unset req.http.cookie;
}
}
#end of vcl_recv

sub vcl_synth {
if (resp.status == 850) {
set resp.http.Location = req.http.x-redir;
set resp.status = 302;
return (deliver);
}
}

sub vcl_purge {
set req.method = "GET";
set req.http.X-Purger = "Purged";
return (restart);
}

sub vcl_backend_response {
set beresp.ttl = 24h;

set beresp.grace = 1h;

if (bereq.url !~ "wp-admin|wp-login|product|cart|checkout|my-account|/?remove_item=") {
unset beresp.http.set-cookie;
}
}

sub vcl_deliver {
if (req.http.X-Purger) {
set resp.http.X-Purger = req.http.X-Purger;
}
}


/lib/systemd/system/varnish.service (I just changed this lines)



ExecStartPre=/usr/sbin/varnishd -C -f /etc/varnish/custom.vcl
ExecStart=/usr/sbin/varnishd -a :80 -T localhost:6082 -f /etc/varnish/custom.vcl -S /etc/varnish/secret -s malloc,1G


Thanks for helping










share|improve this question







New contributor




more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • What do you hope to achieve with "return(synth(850, ""));" ?
    – Gerard H. Pille
    Jan 7 at 1:45










  • Actually I’m not sure but I think it’s part of HTTP to HTTPS redirect
    – more
    Jan 7 at 9:03










  • If I'm not mistaken, the 850 should be a valid HTTP return code, in your case perhaps a 301 or 302, so that the browser would follow the redirect.
    – Gerard H. Pille
    Jan 7 at 12:07














0












0








0







I'm trying to install varnish with ssl from this link:
https://www.linode.com/docs/websites/varnish/use-varnish-and-nginx-to-serve-wordpress-over-ssl-and-http-on-debian-8/



I did everything like post but now I got "This site can't be reached. example.com refused to connect" error.I just missing little bit thing I'm sure but i don't know where.



Here /etc/nginx/sites-available/default :



    server {
listen 443 ssl;
listen [::]:443 ssl;
server_name example.com www.example.com;
port_in_redirect off;

ssl on;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS;
ssl_prefer_server_ciphers on;

ssl_session_cache shared:SSL:20m;
ssl_session_timeout 60m;

add_header Strict-Transport-Security "max-age=31536000";
add_header X-Content-Type-Options nosniff;

location / {
proxy_pass http://127.0.0.1:80;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header HTTPS "on";

access_log /var/www/html/logs/access.log;
error_log /var/www/html/logs/error.log notice;
}
}

server {
listen 8080;
listen [::]:8080;
server_name example.com www.example.com;
root /var/www/html;
index index.php;
port_in_redirect off;

location / {
try_files $uri $uri/ /index.php?$args;
}

location ~ .php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+.php)(/.+)$;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS on;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
}


here is /etc/default/varnish (I just change this lines):



DAEMON_OPTS="-a :80 
-T localhost:6082
-f /etc/varnish/custom.vcl
-S /etc/varnish/secret
-s malloc,1G"


here /etc/varnish/custom.vcl



vcl 4.0;

backend default {
.host = "localhost";
.port = "8080";
}

acl purger {
"localhost";
"142.93.244.9";
}

sub vcl_recv {
if (client.ip != "127.0.0.1" && req.http.host ~ "example.com") {
set req.http.x-redir = "https://www.example.com" + req.url;
return(synth(850, ""));
}

if (req.method == "PURGE") {
if (!client.ip ~ purger) {
return(synth(405, "This IP is not allowed to send PURGE requests."));
}
return (purge);
}

if (req.restarts == 0) {
if (req.http.X-Forwarded-For) {
set req.http.X-Forwarded-For = client.ip;
}
}

if (req.http.Authorization || req.method == "POST") {
return (pass);
}

if (req.url ~ "/feed") {
return (pass);
}

if (req.url ~ "wp-admin|wp-login") {
return (pass);
}

set req.http.cookie = regsuball(req.http.cookie, "wp-settings-d+=[^;]+(; )?", "");

set req.http.cookie = regsuball(req.http.cookie, "wp-settings-time-d+=[^;]+(; )?", "");

if (req.http.cookie == "") {
unset req.http.cookie;
}
}
#end of vcl_recv

sub vcl_synth {
if (resp.status == 850) {
set resp.http.Location = req.http.x-redir;
set resp.status = 302;
return (deliver);
}
}

sub vcl_purge {
set req.method = "GET";
set req.http.X-Purger = "Purged";
return (restart);
}

sub vcl_backend_response {
set beresp.ttl = 24h;

set beresp.grace = 1h;

if (bereq.url !~ "wp-admin|wp-login|product|cart|checkout|my-account|/?remove_item=") {
unset beresp.http.set-cookie;
}
}

sub vcl_deliver {
if (req.http.X-Purger) {
set resp.http.X-Purger = req.http.X-Purger;
}
}


/lib/systemd/system/varnish.service (I just changed this lines)



ExecStartPre=/usr/sbin/varnishd -C -f /etc/varnish/custom.vcl
ExecStart=/usr/sbin/varnishd -a :80 -T localhost:6082 -f /etc/varnish/custom.vcl -S /etc/varnish/secret -s malloc,1G


Thanks for helping










share|improve this question







New contributor




more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm trying to install varnish with ssl from this link:
https://www.linode.com/docs/websites/varnish/use-varnish-and-nginx-to-serve-wordpress-over-ssl-and-http-on-debian-8/



I did everything like post but now I got "This site can't be reached. example.com refused to connect" error.I just missing little bit thing I'm sure but i don't know where.



Here /etc/nginx/sites-available/default :



    server {
listen 443 ssl;
listen [::]:443 ssl;
server_name example.com www.example.com;
port_in_redirect off;

ssl on;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS;
ssl_prefer_server_ciphers on;

ssl_session_cache shared:SSL:20m;
ssl_session_timeout 60m;

add_header Strict-Transport-Security "max-age=31536000";
add_header X-Content-Type-Options nosniff;

location / {
proxy_pass http://127.0.0.1:80;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header HTTPS "on";

access_log /var/www/html/logs/access.log;
error_log /var/www/html/logs/error.log notice;
}
}

server {
listen 8080;
listen [::]:8080;
server_name example.com www.example.com;
root /var/www/html;
index index.php;
port_in_redirect off;

location / {
try_files $uri $uri/ /index.php?$args;
}

location ~ .php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+.php)(/.+)$;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS on;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
}


here is /etc/default/varnish (I just change this lines):



DAEMON_OPTS="-a :80 
-T localhost:6082
-f /etc/varnish/custom.vcl
-S /etc/varnish/secret
-s malloc,1G"


here /etc/varnish/custom.vcl



vcl 4.0;

backend default {
.host = "localhost";
.port = "8080";
}

acl purger {
"localhost";
"142.93.244.9";
}

sub vcl_recv {
if (client.ip != "127.0.0.1" && req.http.host ~ "example.com") {
set req.http.x-redir = "https://www.example.com" + req.url;
return(synth(850, ""));
}

if (req.method == "PURGE") {
if (!client.ip ~ purger) {
return(synth(405, "This IP is not allowed to send PURGE requests."));
}
return (purge);
}

if (req.restarts == 0) {
if (req.http.X-Forwarded-For) {
set req.http.X-Forwarded-For = client.ip;
}
}

if (req.http.Authorization || req.method == "POST") {
return (pass);
}

if (req.url ~ "/feed") {
return (pass);
}

if (req.url ~ "wp-admin|wp-login") {
return (pass);
}

set req.http.cookie = regsuball(req.http.cookie, "wp-settings-d+=[^;]+(; )?", "");

set req.http.cookie = regsuball(req.http.cookie, "wp-settings-time-d+=[^;]+(; )?", "");

if (req.http.cookie == "") {
unset req.http.cookie;
}
}
#end of vcl_recv

sub vcl_synth {
if (resp.status == 850) {
set resp.http.Location = req.http.x-redir;
set resp.status = 302;
return (deliver);
}
}

sub vcl_purge {
set req.method = "GET";
set req.http.X-Purger = "Purged";
return (restart);
}

sub vcl_backend_response {
set beresp.ttl = 24h;

set beresp.grace = 1h;

if (bereq.url !~ "wp-admin|wp-login|product|cart|checkout|my-account|/?remove_item=") {
unset beresp.http.set-cookie;
}
}

sub vcl_deliver {
if (req.http.X-Purger) {
set resp.http.X-Purger = req.http.X-Purger;
}
}


/lib/systemd/system/varnish.service (I just changed this lines)



ExecStartPre=/usr/sbin/varnishd -C -f /etc/varnish/custom.vcl
ExecStart=/usr/sbin/varnishd -a :80 -T localhost:6082 -f /etc/varnish/custom.vcl -S /etc/varnish/secret -s malloc,1G


Thanks for helping







php ssl nginx letsencrypt varnish






share|improve this question







New contributor




more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Jan 6 at 22:44









moremore

1




1




New contributor




more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






more is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • What do you hope to achieve with "return(synth(850, ""));" ?
    – Gerard H. Pille
    Jan 7 at 1:45










  • Actually I’m not sure but I think it’s part of HTTP to HTTPS redirect
    – more
    Jan 7 at 9:03










  • If I'm not mistaken, the 850 should be a valid HTTP return code, in your case perhaps a 301 or 302, so that the browser would follow the redirect.
    – Gerard H. Pille
    Jan 7 at 12:07


















  • What do you hope to achieve with "return(synth(850, ""));" ?
    – Gerard H. Pille
    Jan 7 at 1:45










  • Actually I’m not sure but I think it’s part of HTTP to HTTPS redirect
    – more
    Jan 7 at 9:03










  • If I'm not mistaken, the 850 should be a valid HTTP return code, in your case perhaps a 301 or 302, so that the browser would follow the redirect.
    – Gerard H. Pille
    Jan 7 at 12:07
















What do you hope to achieve with "return(synth(850, ""));" ?
– Gerard H. Pille
Jan 7 at 1:45




What do you hope to achieve with "return(synth(850, ""));" ?
– Gerard H. Pille
Jan 7 at 1:45












Actually I’m not sure but I think it’s part of HTTP to HTTPS redirect
– more
Jan 7 at 9:03




Actually I’m not sure but I think it’s part of HTTP to HTTPS redirect
– more
Jan 7 at 9:03












If I'm not mistaken, the 850 should be a valid HTTP return code, in your case perhaps a 301 or 302, so that the browser would follow the redirect.
– Gerard H. Pille
Jan 7 at 12:07




If I'm not mistaken, the 850 should be a valid HTTP return code, in your case perhaps a 301 or 302, so that the browser would follow the redirect.
– Gerard H. Pille
Jan 7 at 12:07










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






more is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1391284%2fnginx-varnish-configuration-issue%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








more is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















more is a new contributor. Be nice, and check out our Code of Conduct.













more is a new contributor. Be nice, and check out our Code of Conduct.












more is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1391284%2fnginx-varnish-configuration-issue%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?