added factorio, removed satisfactory, firewall, fulfillr, ipv4 fixes

This commit is contained in:
Bastian de Byl
2023-05-03 12:03:17 -04:00
parent 7fba5179c4
commit ac1d80840e
14 changed files with 153 additions and 131 deletions

View File

@@ -1,21 +0,0 @@
{
"snipcart_api_key": "{{ snipcart_api_key }}",
"shippo_api_key": "{{ shippo_api_key }}",
"weight_unit": "g",
"dimension_unit": "cm",
"manufacture_country": "US",
"sender_address": {
"name": "de Byl Technologies LLC",
"address1": "176 Lull Rd",
"city": "Weare",
"state": "NH",
"country": "US",
"zip": "03281",
"email": "sales@debyltech.com"
},
"default_parcel": {
"length": "10",
"width": "19",
"height": "16.5"
}
}

View File

@@ -0,0 +1,5 @@
{
"snipcart_api_key": "{{ snipcart_api_key }}",
"shippo_api_key": "{{ shippo_api_key }}",
"label_file_type": "PNG"
}

View File

@@ -2,7 +2,7 @@ upstream hass {
server 127.0.0.1:8123;
}
server {
resolver 192.168.2.10 ipv6=off;
resolver 192.168.1.10 ipv6=off;
modsecurity on;
modsecurity_rules_file /etc/nginx/modsec_includes.conf;

View File

@@ -4,7 +4,7 @@ upstream drone {
geo $local_access {
default 0;
192.168.2.1 1;
192.168.1.1 1;
}
server {

View File

@@ -0,0 +1,24 @@
upstream fulfillr {
server 127.0.0.1:9054;
}
server {
resolver 192.168.1.10 ipv6=off;
modsecurity on;
modsecurity_rules_file /etc/nginx/modsec_includes.conf;
listen 80;
server_name {{ fulfillr_server_name }};
location / {
allow 192.168.0.0/16;
allow 127.0.0.1;
deny all;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_buffering off;
proxy_pass http://fulfillr;
}
}