capistrano-plugins / capistrano-unicorn-nginx

Capistrano tasks for automatic and sensible unicorn + nginx configuration
MIT License
175 stars 81 forks source link

Nginx blocks html extensions by default #36

Closed rhomeister closed 9 years ago

rhomeister commented 9 years ago

Hi Bruno,

Do you have any idea why these lines occur in the nginx_conf.erb template?

location ~ \.(php|html)$ {
    return 405;
  }

The reason I'm asking is that I'm using the Mercury editor (https://github.com/jejacks0n/mercury), which loads a couple of plugin panels as html files. With this configuration, this doesn't work.

Let me know if I can remove this, and I'll create a PR.

Ruben

bruno- commented 9 years ago

Hey, no idea. Copy/paste error when the plugin was created I guess. Feel free to push to master and let me know when it's there, I'll push out a new gem version.