Excerpt | ||
---|---|---|
|
Create a Facebook app for your site
...
Set up App Facebook Base
In AdminCP, go to setting page of the app Facebook Base
- Facebook Login Enabled: enable/disable login via Facebook account.
- Facebook Application ID: App ID of Facebook app.
- Facebook App Secret: App Secret of Facebook app.
- Required Email: require or not require providing the email in the first time use login by Facebook account.
In phpFox v4.4.0, we have a new app "PHPfox_CDN_Service" to support using CDN Service (PULL method) to load static files of the site. This app will be available for the professional package.
How to use this app with MaxCDN, KeyCDN
App Settings
- Enable CDN Service: Turn on/off the app.
- CDN URL: CDN URL provided by your CDN service (PULL method).
Working with MaxCDN
- Log in to MaxCDN.
- Create a PULL Zone for your phpFox site.
(1). Name of the Zone.
(2). Your phpFox site URL.
(3). Label (optional) After creating a PULL Zone, put the CDN URL of the zone to the app setting and it will work. All static files on your local server will be loaded via CDN PULL Zone.
Info title SSL Configuation If your site is using SSL, you need to work an additional step to make sure the CDN works well.
From zone setting, go to EdgeSSL section >> Shared SSL.
Select Enable here, there will be a newly generated CDN URL for your site.
Copy this URL and apply for your site in phpFox CDN Service app.
Working with KeyCDN
Log in to KeyCDN .
Create a PULL Zone for your phpFox site.
(1). Name of the Zone.(2). Zone status: active or inactive.(3). Zone type: select Pull(4).Your phpFox site URL.- After creating PULL Zone, put the CDN URL of the zone to the app setting and it will work. All static files on your local server will be loaded via CDN PULL Zone.