Questions tagged [nginx]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
15k views

Adding cache headers to Nginx configuation file breaks the /admin area

When I add this to my Nginx Confirguration file: location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires 7d; add_header Pragma "public"; add_header Cache-Control "public, must-revalidate, ...
3
votes
2answers
2k views

Asset URLs not HTTPS

I'm currently redirecting all requests to https. I've updated the siteUrl variable and all of my entry links have been correctly updated but the image links are still http. When I go to the admin ...
2
votes
2answers
330 views

Redirects with Craft and nginx

I'm running into a few issues trying to set up 301/302 redirects with Craft and nginx. The legacy site has /contact.php paths which I would like to direct to /info/ but when I visit mysite.com/contact....
2
votes
1answer
478 views

Load Balancing Craft CMS - Admin gets logged out instantly

We are load balancing 2 servers hosting an identical Craft environment. When clicking around in the admin a user will get logged out after 30 seconds and sometimes even faster when browsing in the ...