update config file and sample graphql
This commit is contained in:
@@ -180,11 +180,11 @@ PM> Scaffold-DbContext "Host=postgresdb;Port=5432;database=FamilyTreeDB;user id=
|
||||
https://www.youtube.com/watch?v=HnXA8RI7Tvc
|
||||
|
||||
query {
|
||||
family {
|
||||
persons {
|
||||
nodes{
|
||||
id
|
||||
firstname
|
||||
lastname
|
||||
firstName
|
||||
sex
|
||||
email
|
||||
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
"AppSettings": {
|
||||
"Secret": "Super Secret SIGN AND VERIFY JWT TOKENS, BEARER TOKEN USE WHEN CALLING THIS API.",
|
||||
"SQLConnectionString": "host=localhost;port=5432;database=FamilyTreeDB;username=postgres;password=Positive~1;",
|
||||
"SQLConnectionString_vm": "host=192.168.1.240;port=5432;database=FamilyTreeDB;username=postgres;password=Positive~1;",
|
||||
"SQLConnectionString_i": "host=localhost;port=5432;database=FamilyTreeDB;username=postgres;password=Positive~1;",
|
||||
"SQLConnectionString": "host=192.168.1.240;port=5432;database=FamilyTreeDB;username=postgres;password=Positive~1;",
|
||||
|
||||
"ImageFolder": "c:\\temp\\Family",
|
||||
"ImportFolder": "c:\\temp"
|
||||
|
||||
@@ -14,13 +14,19 @@
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 /familytreeui/; #if same one redirect to /familytreeui/
|
||||
}
|
||||
|
||||
location /familytreeui {
|
||||
return 301 /familytreeui/; #if same one redirect to /familytreeui/
|
||||
}
|
||||
|
||||
location /familytreeui/ {
|
||||
root /var/www/familytree/; #path must exist like /var/www/familytree/familytreeui and /var/www/familytree/api folder.
|
||||
#root /var/www/familytree/; #path is real must exist like /var/www/familytree/familytreeui and /var/www/familytree/api folder.
|
||||
alias /var/www/familytree/ui/; #location does not to match. but angular index baseurl must same as location.
|
||||
#index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri $uri/ /familytreeui/index.html /index.html;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user