Hello Maxim,
Thank you for the response. I was assuming the error_log in the block
was properly set up but apparently it was not. I finally got an error
message "2015/12/10 18:02:13 [error] 30341#0: *10 recv() failed (104:
Connection reset by peer) while reading response header from
upstream". Pro
Hello,
I have a magento website working fine for months now.
However i recently installed a PDF plugin to send invoices with emails.
The PDF url is giving a 502 bad gateway
"{admin}/sales_invoice/view/invoice_id/717/key/5650a40d93929f5db4383db2a169b08a/".
I have checked around on the internet and
i can confirm systemd will stop nginx.
Live long and prosper,
Christ-Jan Wijtmans
https://github.com/cjwijtmans
http://facebook.com/cj.wijtmans
http://twitter.com/cjwijtmans
On Sun, Sep 27, 2015 at 5:20 PM, nanaya wrote:
>
>> On Sat, Sep 26, 2015 at 11:03 PM, Per Hansson
>>
Doesnt linux cache files in RAM already?
Live long and prosper,
Christ-Jan Wijtmans
https://github.com/cjwijtmans
http://facebook.com/cj.wijtmans
http://twitter.com/cjwijtmans
On Thu, Sep 24, 2015 at 3:36 PM, vbresults wrote:
> Typo; for preload_files_context_local I meant:
>
> Defa
I support this thought.
Live long and prosper,
Christ-Jan Wijtmans
https://github.com/cjwijtmans
http://facebook.com/cj.wijtmans
http://twitter.com/cjwijtmans
On Sat, Sep 26, 2015 at 11:03 PM, Per Hansson wrote:
> Hi, the "nginx.service" file shipped with systemd rpm'
Not an nginx expert but i think you can use a map
http://nginx.org/en/docs/http/ngx_http_map_module.html
You dont even need an if.
Live long and prosper,
Christ-Jan Wijtmans
https://github.com/cjwijtmans
http://facebook.com/cj.wijtmans
http://twitter.com/cjwijtmans
On Sun, Sep 27, 2015 at 10
;
}
location /
{
try_files $uri $uri/ =404;
expires 28d;
}
Live long and prosper,
Christ-Jan Wijtmans
https://github.com/cjwijtmans
http://facebook.com/cj.wijtmans
http://twitter.com/cjwijtmans
> If you want nginx to only load existing certificates, you'll have
> to teach it to do so by only using appropriate directives when
> certificates and keys are actually available. The "include"
> directive may help if you want to automate this, see
> http://nginx.org/r/include.
I dont see how in
I tried to not fail the nginx server if ssl cert is not available.
However the directive is not even allowed inside a statement.
if (-f /var/www/x/etc/ssl.crt)
{
ssl_certificate /var/www/x/etc/ssl.crt;
ssl_certificate_key /var/www/x/etc/ssl.key;