-
Published Question
I am using varnish with default magento 2.3.3 VCL and the default nginx configuration that comes with magento install. At present I see the expires is set to -1. How can I set expires to one week?
status: 200
content...
1
•
•
By
riyaaaz
Nginx
-
Published Answer
Thanks you for responding. Below is the VCL file.
# VCL version 5.0 is not supported so it should be 4.0 even though actual...
•
By
riyaaaz
-
Published Question
I see two different blocks called Cache settings and File cache settings in the below conf file. Can anyone help differentiate what are these please?
# Proxy settings
proxy_redirect off;
proxy_set_header Host ...
1
•
•
By
riyaaaz
Nginx
-
Published Question
There is more than one redirect with trailing slash in secure non-www url. As you can see from below a secure non-www url is forwarded to a url with trailing slash and then again forwarded to one with no slash. I am r...
0
•
•
By
riyaaaz
Nginx
-
Published Question
It is a magento 2.3.3 site with PHP 7.3 and Varnish 6. It looks like varnish is stripping PHPSESSID. Is this normal behaviour or some workaround needs to be done in VCL code? This is how the curl request look like. PH...
2
•
•
By
riyaaaz
Nginx
Caching
PHP
-
Published Question
Using below if and rewrite function how can I remove trailing slashes on all URLs that is appended after /mens-wear and /womens-wear. Example /mens-wear/shirts/
```
if (mens-wear, womens-wear) {
rewrite ^/(.*)/$...
1
•
•
By
riyaaaz
Nginx