IT Tips

Access

Blog History

OPTIONS pre-flight Check CakePHP 2

Before fetch sends a POST request to another domain it will do a CORS pre-flight check. The following website has the HTTP OPTIONS middleware code you can use for CakePHP 3. It mentions for a CakePHP 2 version you need to go to another website which is unavailable now...

read more

Nginx Certificate Installation from PFX File

https://gist.github.com/junxy/2464633f27345fbe6a98 # if your pfx file is yourdomain.com.pfx # split the name up so you can have a descriptive # cert and key name OUT=yourdomain.com PFX=.pfx # create pem fromat certs from pfx fiiles # and a decrypted key openssl pkcs12...

read more