Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to configure for https domain? #265

Open
alexblattner opened this issue Jun 11, 2019 · 0 comments
Open

how to configure for https domain? #265

alexblattner opened this issue Jun 11, 2019 · 0 comments

Comments

@alexblattner
Copy link

I'm trying to configure my arangodb-php connection-options in a way I could access my arangodb database in aws from godaddy. Could I get a detailed tutorial or some help on the matter? Thanks in advance. To be clear I'm talking about this:
$connectionOptions =array( // server endpoint to connect to ConnectionOptions::OPTION_ENDPOINT => 'ssl://54.226.203.141:8529', // authorization type to use (currently supported: 'Basic') ConnectionOptions::OPTION_AUTH_TYPE => 'Basic', // user for basic authorization ConnectionOptions::OPTION_AUTH_USER => 'root', // password for basic authorization ConnectionOptions::OPTION_AUTH_PASSWD => 'i-0da2dfebc3b30985a', // connection persistence on server. can use either 'Close' (one-time connections) or 'Keep-Alive' (re-used connections) ConnectionOptions::OPTION_CONNECTION => 'Close', // connect timeout in seconds ConnectionOptions::OPTION_DATABASE=>'ShareOn', ConnectionOptions::OPTION_TIMEOUT => 3, // whether or not to reconnect when a keep-alive connection has timed out on server ConnectionOptions::OPTION_RECONNECT => true, // optionally create new collections when inserting documents ConnectionOptions::OPTION_CREATE => true, // optionally create new collections when inserting documents ConnectionOptions::OPTION_UPDATE_POLICY => UpdatePolicy::LAST, ConnectionOptions::OPTION_VERIFY_CERT => true, ConnectionOptions::OPTION_VERIFY_CERT_NAME=>'shareon.me', );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant