Media Folder doesn't regenerate - NGINX

Hi @all,

One hour ago i had a issue with github,tower and kirby. I dont know how it happened but i had to got a fresh clone from github, made my changes and pushed them to the server.

For some reason now the media folder doesnt regenerates now…
Any Ideas?

-> on the right side next to " You are more than just an unknown user." should be an image

Marvin :slight_smile:

But the rest works, like saving stuff via the Panel?

Otherwise it’s probably a file/folder permission problem.

The rest works like a charme.
Except the Panel - wich i am not using on the server

Ah, ok, but then you can’t test if saving via the Panel does or doesn’t work :wink:

So please check your file and folder permissions on the server, the webserver user must be able to write to your kirby project folder, otherwise the media folder cannot be created.

Disabling the cache solved the problem!

I looked in the Serverconfig and saw that I added caching a few days ago and since I had only changed text - so I haven’t seen any mistakes.

Can someone tell me what’s wrong with this one?:

	location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
    expires 10d;
		add_header Cache-Control "public, no-transform";