diff --git a/README.md b/README.md index 4020d55..a3ef0ab 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ I used the gin framework as it does several things to ensure that there are no m Tested to handle 15,000 requests persecond on modest hardware with an average response time of 130ms. -**Shipped version:** 2021.02.16~ynh2 +**Shipped version:** 2022.01.05~ynh1 **Demo:** https://ifconfig.io diff --git a/README_fr.md b/README_fr.md index 866917e..1eb9918 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ I used the gin framework as it does several things to ensure that there are no m Tested to handle 15,000 requests persecond on modest hardware with an average response time of 130ms. -**Version incluse :** 2021.02.16~ynh2 +**Version incluse :** 2022.01.05~ynh1 **Démo :** https://ifconfig.io diff --git a/conf/app.src b/conf/app.src index 3cd9a3a..63863ce 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/georgyo/ifconfig.io/archive/45d46592cf1dd12f2163f2dfed617f6f9d75d637.tar.gz -SOURCE_SUM=7559DA2F3BDF8EDFA8338786E985F785551AE70F860223CC2A587C447D558ADB +SOURCE_URL=https://github.com/georgyo/ifconfig.io/archive/0395b2024d26ffa92cede56f456e4a784c45c4de.tar.gz +SOURCE_SUM=8314375a4558d059eff6d45751c9b13429e720894a26b2b166ab0342489198e7 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/systemd.service b/conf/systemd.service index 7570de8..75e39f5 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,6 +9,7 @@ Group=__APP__ Environment=PORT=__PORT__ Environment=HOSTNAME=__DOMAIN__ Environment=GIN_MODE=release +Environment=FORWARD_IP_HEADER=X-Forwarded-For WorkingDirectory=__APP_PATH__/ ExecStart=__APP_PATH__/ifconfig.io StandardOutput=append:/var/log/__APP__/__APP__.log diff --git a/manifest.json b/manifest.json index af83bad..07c0771 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "description": { "en": "IP API service to get their public IP address." }, - "version": "2021.02.16~ynh2", + "version": "2022.01.05~ynh1", "url": "https://github.com/georgyo/ifconfig.io/", "upstream": { "license": "MIT",