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.
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.
Hi Bruno,
Do you have any idea why these lines occur in the
nginx_conf.erb
template?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