forked from sfproductlabs/xadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
69 lines (66 loc) · 1.93 KB
/
.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Application
LOG_LEVEL = info
APP_NAME=XAD
V1_PREFIX= /api/v1
V2_PREFIX=/api/v2
KEY_NAME=sfpl
VERSION=56
#NODE_ENV=dev
NODE_ENV=dev
XCS_URL=http://localhost:9001
API_URL=http://localhost:9001
API_WS=https://localhost
TRACK_URL=https://localhost:8443/tr/v1/
LOGIN_URL=https://google.com/login
CLIENT_SECRET=secret
CLIENT_USER_COOKIE=user
CLIENT_AUTH_COOKIE=ajwt
CLIENT_OWNER_COOKIE=vid
CLIENT_SESS_COOKIE=sid
CLIENT_TRACK_COOKIE=trc
CLIENT_REFERRAL_COOKIE=ref
CLIENT_DURATION_COOKIE=dur
CLIENT_EXPERIMENT_COOKIE=ex
CLIENT_EXP_PARAMS_COOKIE=exp
#S3 - CORS
#<?xml version="1.0" encoding="UTF-8"?>
#<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
#<CORSRule>
# <AllowedOrigin>*</AllowedOrigin>
# <AllowedMethod>GET</AllowedMethod>
# <MaxAgeSeconds>3000</MaxAgeSeconds>
# <ExposeHeader>ETag</ExposeHeader>
# <ExposeHeader>Content-Type</ExposeHeader>
# <ExposeHeader>Content-Length</ExposeHeader>
# <AllowedHeader>Authorization</AllowedHeader>
# <AllowedHeader>Content-Length</AllowedHeader>
#</CORSRule>
#</CORSConfiguration>
#S3 - Bucket policy
# {
# "Version": "2008-10-17",
# "Id": "PolicyForCloudFrontPrivateContent",
# "Statement": [
# {
# "Sid": "1",
# "Effect": "Allow",
# "Principal": {
# "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2xxxxxxx"
# },
# "Action": "s3:GetObject",
# "Resource": "arn:aws:s3:::website-xadmin-staging/*"
# },
# {
# "Sid": "Grant CloudFront access-2",
# "Effect": "Allow",
# "Principal": {
# "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2xxxxxxxx"
# },
# "Action": [
# "s3:ListBucket",
# "s3:ListBucketVersions"
# ],
# "Resource": "arn:aws:s3:::website-xadmin-staging"
# }
# ]
# }