denny / ShinyCMS

ShinyCMS is an open source CMS. This is the Perl version, built with Catalyst and DBIC. (There is also a Ruby on Rails version: www.github.com/denny/ShinyCMS-ruby)
56 stars 24 forks source link

nginx configuration #58

Closed Hiranyaloka closed 8 years ago

Hiranyaloka commented 9 years ago

I found that on ubuntu with nginx/fastcgi, the "location /static" section of the example nginx configuration actually prevented ShinyCMS from serving static content. When I removed that section, it just worked.

I also moved the socket to the tmp directory, seems like that is the traditional place for it.

denny commented 9 years ago

I've been thinking that ShinyCMS should probably have its own ShinyCMS/tmp/ directory, for dropping odds and ends in. I'm assuming that would be more secure than having them all in the system /tmp folder, on a shared server.

Opinions welcome. :)

Hiranyaloka commented 9 years ago

Yes I agree. That directory should be a configuration item. Until then, the example nginx should work with existing code.