noticket - updates for fulfillr

This commit is contained in:
Bastian de Byl
2024-10-13 20:19:21 -04:00
parent 8aba20f8ea
commit 19afacf190
5 changed files with 31 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
{
"snipcart_api_key": "{{ snipcart_api_key }}",
"easypost_api_key": "{{ easypost_api_key }}",
"label_file_type": "PNG",
"aws": {
"access_key": "{{ fulfillr_access_key }}",
"secret_key": "{{ fulfillr_secret_key }}",
@@ -11,5 +10,16 @@
"tax": {
"ein": "{{ fulfillr_tax_ein }}",
"ioss": "{{ fulfillr_tax_ioss }}"
}
},
"sender_address": {
"city": "Newbury",
"country": "US",
"email": "sales@debyltech.com",
"name": "de Byl Technologies LLC",
"phone": "6034160859",
"state": "NH",
"street1": "976 Route 103",
"street2": "Unit 509",
"zip": "03255"
}
}

View File

@@ -34,8 +34,11 @@ server {
return 302 $scheme://bdebyl.net$request_uri;
}
root /usr/local/share/fulfillr-site;
index index.html;
location /api {
add_header Access-Control-Allow-Origin "$http_origin";
add_header Access-Control-Allow-Origin * always;
add_header Referrer-Policy "same-origin" always;
# add_header Strict-Transport-Security "max-age=630720000; includeSubDomains" always;
add_header X-Content-Type-Options "nosniff" always;
@@ -55,4 +58,8 @@ server {
chunked_transfer_encoding off;
}
location / {
try_files $uri $uri/ =404;
}
}