diff --git a/src/nginxconfig/i18n/de/languages.js b/src/nginxconfig/i18n/de/languages.js
index 3723da95..a99417f7 100644
--- a/src/nginxconfig/i18n/de/languages.js
+++ b/src/nginxconfig/i18n/de/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: 'Polnisch',
de: 'Deutsch',
ja: 'Japanisch',
+ fa: 'Persisch',
};
diff --git a/src/nginxconfig/i18n/en/languages.js b/src/nginxconfig/i18n/en/languages.js
index 5cb30600..3c299896 100644
--- a/src/nginxconfig/i18n/en/languages.js
+++ b/src/nginxconfig/i18n/en/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: 'Polish',
de: 'German',
ja: 'Japanese',
+ fa: 'Persian',
};
diff --git a/src/nginxconfig/i18n/es/languages.js b/src/nginxconfig/i18n/es/languages.js
index 1311a5b3..75e4d6a1 100644
--- a/src/nginxconfig/i18n/es/languages.js
+++ b/src/nginxconfig/i18n/es/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: 'Polaco',
de: 'Alemán',
ja: 'Japonés',
+ fa: 'Persa',
};
diff --git a/src/nginxconfig/i18n/fa/common.js b/src/nginxconfig/i18n/fa/common.js
new file mode 100644
index 00000000..1c281697
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/common.js
@@ -0,0 +1,48 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ back: 'بازگشت',
+ next: 'بعدی',
+ enable: 'فعال کردن',
+ php: 'PHP',
+ ssl: 'SSL',
+ nginx: 'NGINX',
+ http: 'HTTP',
+ https: 'HTTPS',
+ letsEncrypt: "Let's Encrypt",
+ python: 'Python',
+ wordPress: 'WordPress',
+ drupal: 'Drupal',
+ magento: 'Magento',
+ joomla: 'Joomla',
+ django: 'Django',
+ logging: 'لاگگیری',
+ reverseProxy: 'پروکسی معکوس',
+ reverseProxyLower: 'پروکسی معکوس',
+ restrict: 'محدود کردن',
+ path: 'مسیر',
+};
diff --git a/src/nginxconfig/i18n/fa/index.js b/src/nginxconfig/i18n/fa/index.js
new file mode 100644
index 00000000..7a52b6f1
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/index.js
@@ -0,0 +1,31 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from './common';
+import languages from './languages';
+import templates from './templates';
+
+export default { common, languages, templates };
diff --git a/src/nginxconfig/i18n/fa/languages.js b/src/nginxconfig/i18n/fa/languages.js
new file mode 100644
index 00000000..fad14ed9
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/languages.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ en: 'انگلیسی',
+ es: 'اسپانیایی',
+ zhCN: 'چینی (ساده شده)',
+ zhTW: 'چینی (سنتی)',
+ ptBR: 'پرتغالی (برزیلی)',
+ fr: 'فرانسوی',
+ ru: 'روسی',
+ pl: 'لهستانی',
+ de: 'آلمانی',
+ ja: 'ژاپنی',
+ fa: 'فارسی',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/app.js b/src/nginxconfig/i18n/fa/templates/app.js
new file mode 100644
index 00000000..abf94c44
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/app.js
@@ -0,0 +1,40 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../common';
+
+export default {
+ title: `${common.nginx}پیکربندی`,
+ description: `سادهترین راه برای پیکربندی یک سرور ${common.nginx} کارآمد، امن و پایدار.`,
+ singleColumnMode: 'حالت ستون تکی',
+ splitColumnMode: 'حالت کناره به کناره',
+ perWebsiteConfig: 'پیکربندی برای هر وبسایت',
+ addSite: 'افزودن وبسایت',
+ globalConfig: 'پیکربندی جهانی',
+ setup: 'راهاندازی',
+ configFiles: 'پروندههای پیکربندی',
+ copied: 'کپی شد',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/callouts/contribute.js b/src/nginxconfig/i18n/fa/templates/callouts/contribute.js
new file mode 100644
index 00000000..11e614f9
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/callouts/contribute.js
@@ -0,0 +1,31 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ wantToContributeChanges:
+ '👋 میخواهید ویژگیهای جدید را درخواست دهید، تغییراتی اعمال کنید، یا ابزار را به یک زبان جدید ترجمه کنید؟',
+ getInvolvedOnGitHub: 'شرکت کنید در GitHub',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/callouts/droplet.js b/src/nginxconfig/i18n/fa/templates/callouts/droplet.js
new file mode 100644
index 00000000..84f16f19
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/callouts/droplet.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ lookingForAPlaceToDeploy: '👋 به دنبال مکانی برای استقرار پیکربندی جدیدتان هستید؟',
+ tryOutDigitalOceansDroplet: 'امتحان کنید Droplet LEMP DigitalOcean با NGINX',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/callouts/index.js b/src/nginxconfig/i18n/fa/templates/callouts/index.js
new file mode 100644
index 00000000..7f806adc
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/callouts/index.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import droplet from './droplet';
+import contribute from './contribute';
+
+export default { droplet, contribute };
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/https.js b/src/nginxconfig/i18n/fa/templates/domain_sections/https.js
new file mode 100644
index 00000000..5235ab21
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/https.js
@@ -0,0 +1,48 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ enableEncryptedSslConnection: `${common.enable} ${common.ssl} اتصالهای رمزگذاری شده`,
+ http2: `${common.http}/2`,
+ enableHttp2Connections: `${common.enable} اتصالهای ${common.http}/2`,
+ http3: `${common.http}/3`,
+ enableHttp3Connections: `${common.enable} اتصالهای ${common.http}/3`,
+ forceHttps: `اجبار ${common.https}`,
+ hsts: 'HSTS',
+ enableStrictTransportSecurity: `${common.enable} امنیت حمل و نقل دقیق، الزامی کردن اتصالهای HTTPS`,
+ enableIncludeSubDomains: `${common.enable} دستور includeSubDomains، الزامی کردن اتصالهای HTTPS برای همه زیردامنهها`,
+ enablePreload: `${common.enable} دستور preload، به مرورگرها اطلاع دادن برای همیشه برقراری اتصالهای HTTPS فقط`,
+ certificationType: 'نوع گواهی',
+ customCertificate: 'گواهی سفارشی',
+ letsEncryptEmail: `${common.letsEncrypt} ایمیل`,
+ http3IsANonStandardModule: 'HTTP/3 ماژول استاندارد NGINX نیست، بررسی کنید ',
+ http3NginxQuicReadme: 'مستندات NGINX QUIC',
+ http3OrThe: ' یا ',
+ http3CloudflareQuicheProject: 'پروژه quiche Cloudflare',
+ http3ForBuildingNginxWithHttp3: ' برای چگونگی ساخت NGINX با HTTP/3!',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/index.js b/src/nginxconfig/i18n/fa/templates/domain_sections/index.js
new file mode 100644
index 00000000..19288f4b
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/index.js
@@ -0,0 +1,49 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import https from './https';
+import logging from './logging';
+import php from './php';
+import presets from './presets';
+import python from './python';
+import reverseProxy from './reverse_proxy';
+import routing from './routing';
+import server from './server';
+import restrict from './restrict';
+import onion from './onion';
+
+export default {
+ https,
+ logging,
+ php,
+ presets,
+ python,
+ reverseProxy,
+ routing,
+ server,
+ restrict,
+ onion,
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js b/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js
new file mode 100644
index 00000000..7780bfce
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js
@@ -0,0 +1,35 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ byDomain: 'به وسیلهٔ دامنه',
+ enableForThisDomain: `${common.enable} برای این دامنه`,
+ arguments: 'آرگومانها',
+ level: 'سطح ورود',
+ forRedirects: 'برای هدایتها',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js b/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js
new file mode 100644
index 00000000..a289bd25
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js
@@ -0,0 +1,38 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+const onion = 'Onion';
+
+export default {
+ onion: 'پیاز',
+ onionLocation: `${onion} مکان`,
+ provideAnOnionLocationToSetOnionLocationHeader:
+ 'آدرس مکان پیاز را ارائه دهید تا هدر مکان پیاز را برای سایت خود تنظیم کنید.',
+ letsVisitorsKnownOnionServicesIsAvailable:
+ 'این به بازدیدکنندگان اطلاع میدهد که نسخه سرویسهای پیاز از سایت شما برای مرورگرهای Tor در دسترس است.',
+ learnMoreAboutOnionServices: 'بیشتر در مورد سرویسهای پیاز بیاموزید',
+ onionLocationExpectedToEndWithOnion: 'آدرسهای مکان پیاز به طور معمول با `.onion` ختم میشوند.',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/php.js b/src/nginxconfig/i18n/fa/templates/domain_sections/php.js
new file mode 100644
index 00000000..8f06b818
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/php.js
@@ -0,0 +1,57 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ phpIsDisabled: `${common.php} غیرفعال است.`,
+ phpCannotBeEnabledWithReverseProxy: `${common.php} نمیتواند هنگامی که پروکسی معکوس فعال است، فعال شود.`,
+ phpCannotBeEnabledWithPython: `${common.php} نمیتواند هنگامی که ${common.python} فعال است، فعال شود.`,
+ enablePhp: `${common.enable} ${common.php}`,
+ wordPressRules: `قوانین ${common.wordPress}`,
+ enableWordPressRules: `${common.enable} قوانین خاص ${common.wordPress}`,
+ drupalRules: `قوانین ${common.drupal}`,
+ enableDrupalRules: `${common.enable} قوانین خاص ${common.drupal}`,
+ magentoRules: `قوانین ${common.magento}`,
+ enableMagentoRules: `${common.enable} قوانین خاص ${common.magento}`,
+ joomlaRules: `قوانین ${common.joomla}`,
+ enableJoomlaRules: `${common.enable} قوانین خاص ${common.joomla}`,
+ phpServer: `سرور ${common.php}`,
+ phpBackupServer: `سرور پشتیبان ${common.php}`,
+ tcp: 'TCP',
+ hhvmSocket: 'سوکت HHVM',
+ php70Socket: 'سوکت 7.0',
+ php71Socket: 'سوکت 7.1',
+ php72Socket: 'سوکت 7.2',
+ php73Socket: 'سوکت 7.3',
+ php74Socket: 'سوکت 7.4',
+ php80Socket: 'سوکت 8.0',
+ php81Socket: 'سوکت 8.1',
+ php82Socket: 'سوکت 8.2',
+ phpSocket: 'سوکت PHP',
+ custom: 'سفارشی',
+ disabled: 'غیرفعال',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js b/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js
new file mode 100644
index 00000000..5625355d
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js
@@ -0,0 +1,34 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ presets: 'پیشتنظیمها',
+ itLooksLikeYouCustomisedTheConfig:
+ 'به نظر میرسد که شما پیکربندی برای این دامنه را سفارشی کردهاید. انتخاب یک پیشتنظیم جدید ممکن است برخی از تنظیماتی که شما سفارشی کردهاید را بازنشانی یا تغییر دهد.',
+ frontend: 'رابط کاربری',
+ nodeJs: 'Node.js',
+ singlePageApplication: 'اپلیکیشن تکصفحهای',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/python.js b/src/nginxconfig/i18n/fa/templates/domain_sections/python.js
new file mode 100644
index 00000000..fb407658
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/python.js
@@ -0,0 +1,36 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ pythonIsDisabled: `${common.python} غیرفعال است.`,
+ pythonCannotBeEnabledWithReverseProxy: `${common.python} نمیتواند هنگامی که پروکسی معکوس فعال است، فعال شود.`,
+ pythonCannotBeEnabledWithPhp: `${common.python} نمیتواند هنگامی که ${common.php} فعال است، فعال شود.`,
+ enablePython: `${common.enable} ${common.python}`,
+ djangoRules: `قوانین ${common.django}`,
+ enableDjangoRules: `${common.enable} قوانین خاص ${common.django}`,
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js b/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js
new file mode 100644
index 00000000..12de2370
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ disableForThisDomain: 'غیرفعال کردن برای این دامنه',
+ responseCode: 'کد پاسخ',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js
new file mode 100644
index 00000000..4705ab77
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js
@@ -0,0 +1,35 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ reverseProxyIsDisabled: `${common.reverseProxy} غیرفعال است.`,
+ reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} نمیتواند هنگامی که ${common.php} فعال است، فعال شود.`,
+ reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} نمیتواند هنگامی که ${common.python} فعال است، فعال شود.`,
+ enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`,
+ proxyHostHeader: 'هدر میزبان پروکسی',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js b/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js
new file mode 100644
index 00000000..f904a044
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js
@@ -0,0 +1,35 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ fallbackRouting: 'مسیریابی پشتیبانی شده',
+ fallbackRoutingPhpPath: `مسیریابی پشتیبانی شده ${common.php}`,
+ legacyPhpRouting: `مسیریابی قدیمی ${common.php}`,
+ enableLegacyRouting: `${common.enable} مسیریابی قدیمی`,
+ routing: 'مسیریابی',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/server.js b/src/nginxconfig/i18n/fa/templates/domain_sections/server.js
new file mode 100644
index 00000000..5c32ced1
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/domain_sections/server.js
@@ -0,0 +1,37 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ domain: 'دامنه',
+ documentRoot: 'ریشه سند',
+ oneOrMoreOtherDomainsAreAlsoNamed: 'یک یا چند دامنه دیگر همچنین نامگذاری شدهاند',
+ thisWillCauseIssuesWithConfigGeneration: 'این باعث مشکلات در تولید پیکربندی میشود.',
+ wwwSubdomain: 'زیردامنه www',
+ cdnSubdomain: 'زیردامنه CDN',
+ redirectSubdomains: 'هدایت زیردامنهها',
+ server: 'سرور',
+ listen: 'گوش کردن',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/footer.js b/src/nginxconfig/i18n/fa/templates/footer.js
new file mode 100644
index 00000000..744dcfc7
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/footer.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ backToTop: 'بازگشت به بالا',
+ thisToolIs: 'این ابزار',
+ openSourceOnGitHub: 'منبعباز در GitHub',
+ underThe: 'زیر',
+ mit: 'MIT',
+ license: 'لایسنس!',
+ weWelcomeFeedbackAndContributions: 'ما بازخورد و مشارکتها را میپذیریم.',
+ originallyCreatedBy: 'اصلی توسط',
+ balintSzekeres: 'Bálint Szekeres',
+ maintainedBy: 'نگهداری شده توسط',
+ digitalOcean: 'DigitalOcean',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/docker.js b/src/nginxconfig/i18n/fa/templates/global_sections/docker.js
new file mode 100644
index 00000000..718862e1
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/docker.js
@@ -0,0 +1,41 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const docker = 'Docker';
+const dockerfile = 'Dockerfile';
+
+export default {
+ docker: 'داکر',
+ dockerfile: 'فایل داکر',
+ dockerCompose: `${docker} ترکیب کنید`,
+ applyDockerTweaks: `اعمال تغییرات ${docker}`,
+ applyDockerTweaksForNginx: `اعمال تنظیمات پیکربندی برای اجرای ${common.nginx} با ${docker}`,
+ applyDockerTweaksExplainer: `بهروزرسانی کاربر ${common.nginx} به nginx
و pid به /var/run/nginx.pid
`,
+ includeDockerfile: `شامل ${dockerfile} برای اجرای ${common.nginx} با ${docker}`,
+ includeDockerCompose: `شامل docker-compose برای اجرای ${common.nginx} با docker-compose`,
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/https.js b/src/nginxconfig/i18n/fa/templates/global_sections/https.js
new file mode 100644
index 00000000..18d08321
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/https.js
@@ -0,0 +1,52 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const mozilla = 'Mozilla';
+const ipv4 = 'IPv4';
+const ipv6 = 'IPv6';
+
+export default {
+ sslProfile: `${common.ssl} پروفایل`,
+ httpsMustBeEnabledOnOneSite: `${common.https} باید حداقل بر روی یک سایت فعال شود تا تنظیمات ${common.https} جهانی را پیکربندی کنید.`,
+ portReuse: 'استفاده مجدد پورت',
+ enableReuseOfPort: `${common.enable} استفاده مجدد از پورت برای ایجاد یک گوشه گوش دهنده برای هر کارگر`,
+ ocspDnsResolvers: 'راهحلهای DNS OCSP',
+ cloudflareResolver: 'راهحل Cloudflare',
+ googlePublicDns: 'DNS عمومی Google',
+ openDns: 'OpenDNS',
+ quad9: 'Quad9',
+ verisign: 'Verisign',
+ letsEncryptWebroot: `${common.letsEncrypt} Webroot`,
+ letsEncryptCertRoot: `${common.letsEncrypt} دایرکتوری گواهی`,
+ mozillaModern: `${mozilla} Modern`,
+ mozillaIntermediate: `${mozilla} Intermediate`,
+ mozillaOld: `${mozilla} Old`,
+ ipv4Only: `${ipv4} فقط`,
+ ipv6Only: `${ipv6} فقط`,
+ ipv4AndIpv6: `${ipv4} و ${ipv6}`,
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/index.js b/src/nginxconfig/i18n/fa/templates/global_sections/index.js
new file mode 100644
index 00000000..19e26f8f
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/index.js
@@ -0,0 +1,47 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import https from './https';
+import logging from './logging';
+import nginx from './nginx';
+import performance from './performance';
+import python from './python';
+import reverseProxy from './reverse_proxy';
+import security from './security';
+import tools from './tools';
+import docker from './docker';
+
+export default {
+ https,
+ logging,
+ nginx,
+ performance,
+ python,
+ reverseProxy,
+ security,
+ tools,
+ docker,
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/logging.js b/src/nginxconfig/i18n/fa/templates/global_sections/logging.js
new file mode 100644
index 00000000..91789277
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/logging.js
@@ -0,0 +1,42 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ enableFileNotFoundErrorLogging: `${common.enable} ثبت خطاهای فایل پیدا نشد در ورودی`,
+ logformat: 'فرمت ثبت',
+ level: 'سطح ورود',
+ enableCloudflare: 'افزودن هدرهای درخواست Cloudflare به فرمت ثبت پیشفرض',
+ cfRay: 'CF-Ray',
+ cfConnectingIp: 'CF-Connecting-IP',
+ xForwardedFor: 'X-Forwarded-For',
+ xForwardedProto: 'X-Forwarded-Proto',
+ trueClientIp: 'True-Client-IP',
+ cfIpCountry: 'CF-IPCountry',
+ cfVisitor: 'CF-Visitor',
+ cdnLoop: 'CDN-Loop',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js b/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js
new file mode 100644
index 00000000..ddf0162f
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ nginxConfigDirectory: `${common.nginx} دایرکتوری پیکربندی`,
+ mb: 'MB',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/performance.js b/src/nginxconfig/i18n/fa/templates/global_sections/performance.js
new file mode 100644
index 00000000..784f3c8d
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/performance.js
@@ -0,0 +1,44 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ disableHtmlCaching: 'غیرفعال کردن حافظهپنهان HTML',
+ enableDisableHtmlCaching: 'غیرفعال کردن حافظهپنهان HTML',
+ gzipCompression: 'فشردهسازی Gzip',
+ enableGzipCompression: `${common.enable} فشردهسازی gzip`,
+ brotliCompression: 'فشردهسازی Brotli',
+ enableBrotliCompression: `${common.enable} فشردهسازی brotli`,
+ brotliIsANonStandardModule: 'Brotli یک ماژول استاندارد NGINX نیست، بررسی کنید ',
+ brotliGoogleNgxBrotliProject: 'پروژه Google ngx_brotli',
+ brotliForBuildingNginxWithBrotli: ' برای چگونگی ساخت NGINX با Brotli!',
+ expirationForAssets: 'انقضا برای داراییها',
+ expirationForMedia: 'انقضا برای رسانهها',
+ expirationForSvgs: 'انقضا برای SVGها',
+ expirationForFonts: 'انقضا برای فونتها',
+ performance: 'عملکرد',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/python.js b/src/nginxconfig/i18n/fa/templates/global_sections/python.js
new file mode 100644
index 00000000..29802d35
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/python.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ pythonServer: `${common.python} سرور`,
+ pythonMustBeEnabledOnOneSite: `${common.python} باید حداقل بر روی یک سایت فعال شود تا تنظیمات ${common.python} جهانی را پیکربندی کنید.`,
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js
new file mode 100644
index 00000000..0d46ccc1
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js
@@ -0,0 +1,36 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const legacyXForwarded = 'Legacy X-Forwarded-* headers';
+
+export default {
+ reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} باید حداقل بر روی یک سایت فعال شود تا تنظیمات ${common.reverseProxyLower} جهانی را پیکربندی کنید.`,
+ seconds: 'ثانیه',
+ passOn: `${legacyXForwarded} منتقل شده`,
+ remove: `${legacyXForwarded} به طور فعال حذف شده`,
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/security.js b/src/nginxconfig/i18n/fa/templates/global_sections/security.js
new file mode 100644
index 00000000..31607794
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/security.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `هنگام استفاده از ${common.wordPress}، script-src 'self' 'unsafe-inline' 'unsafe-eval';
اغلب برای اجازه به پنل مدیریت برای عملکرد صحیح، در سیاست امنیتی محتوا مورد نیاز است.`,
+ security: 'امنیت',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/tools.js b/src/nginxconfig/i18n/fa/templates/global_sections/tools.js
new file mode 100644
index 00000000..d9d2f7f1
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/global_sections/tools.js
@@ -0,0 +1,56 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ modularizedStructure: 'ساختار ماژولار',
+ enableModularizedConfigFiles: `${common.enable} پروندههای پیکربندی ماژولار`,
+ symlinkVhost: 'سملینک vhost',
+ enableSymLinksFrom: `${common.enable} سملینکها از`,
+ to: 'به',
+ shareConfiguration: 'اشتراک پیکربندی',
+ resetConfiguration: 'تنظیم مجدد پیکربندی',
+ resetGlobalConfig: 'تنظیم مجدد پیکربندی جهانی',
+ resetAllDomains: 'تنظیم مجدد تمامی دامنهها',
+ removeAllDomains: 'حذف تمامی دامنهها',
+ resetAllDomainsConfig: 'تنظیم مجدد پیکربندی تمامی دامنهها',
+ resetDomainConfig: 'تنظیم مجدد پیکربندی دامنه',
+ removeDomain: 'حذف دامنه',
+ yesImSure: 'بله، مطمئنم',
+ noCancel: 'خیر، لغو',
+ tools: 'ابزارها',
+ resetGlobalConfigBody:
+ 'آیا مطمئنید که میخواهید تمام گزینههای پیکربندی در بخش پیکربندی جهانی را دوباره تنظیم کنید؟',
+ resetAllDomainsConfigBody:
+ 'آیا مطمئنید که میخواهید پیکربندی تمامی دامنهها را دوباره تنظیم کنید؟',
+ removeAllDomainsBody: 'آیا مطمئنید که میخواهید تمامی پیکربندیهای دامنه را حذف کنید؟',
+ areYouSureYouWantToResetAllConfigurationOptionsForThe:
+ 'آیا مطمئنید که میخواهید تمام گزینههای پیکربندی برای',
+ domain: 'دامنه را دوباره تنظیم کنید؟',
+ areYouSureYouWantToRemoveThe: 'آیا مطمئنید که میخواهید',
+ domainConfiguration: 'پیکربندی دامنه را حذف کنید؟',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/index.js b/src/nginxconfig/i18n/fa/templates/index.js
new file mode 100644
index 00000000..3a705361
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/index.js
@@ -0,0 +1,35 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import app from './app';
+import setup from './setup';
+import footer from './footer';
+import domainSections from './domain_sections';
+import globalSections from './global_sections';
+import setupSections from './setup_sections';
+import callouts from './callouts';
+
+export default { app, setup, footer, domainSections, globalSections, setupSections, callouts };
diff --git a/src/nginxconfig/i18n/fa/templates/setup.js b/src/nginxconfig/i18n/fa/templates/setup.js
new file mode 100644
index 00000000..21c28a9f
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/setup.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ downloadConfig: 'دانلود پیکربندی',
+ copyBase64: 'کپی Base64',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js
new file mode 100644
index 00000000..a6e727cd
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js
@@ -0,0 +1,40 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const certbot = 'Certbot';
+
+export default {
+ commentOutSslDirectivesInConfiguration: `توضیحات ${common.ssl} مرتبط را در پیکربندی زیر نظر بگیرید:`,
+ sslOffDeprecationWarning: `این دستور یک دستور موقت ssl off
اضافه خواهد کرد تا اطمینان حاصل شود که دستورات ${common.ssl} فعال نیستند. این ممکن است باعث ایجاد هشدار در ${common.nginx} شود که ایمن است نادیده گرفته شود. این دستور هنگامی که ${certbot} پیکربندی شود، حذف خواهد شد.`,
+ reloadYourNginxServer: `سرور ${common.nginx} خود را دوباره بارگذاری کنید:`,
+ obtainSslCertificatesFromLetsEncrypt: `گواهینامههای ${common.ssl} را از ${common.letsEncrypt} با استفاده از ${certbot} بدست آورید:`,
+ uncommentSslDirectivesInConfiguration: `توضیحات ${common.ssl} مرتبط را در پیکربندی را بدون نظر بگذارید:`,
+ configureCertbotToReloadNginxOnCertificateRenewal: `پیکربندی ${certbot} برای دوباره بارگذاری ${common.nginx} هنگامی که گواهینامهها با موفقیت تمدید شوند:`,
+ certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} نیازی به راهاندازی برای پیکربندی ${common.nginx} شما ندارد.`,
+ certbot,
+};
diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/download.js b/src/nginxconfig/i18n/fa/templates/setup_sections/download.js
new file mode 100644
index 00000000..9c1f08a7
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/setup_sections/download.js
@@ -0,0 +1,42 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ downloadTheGeneratedConfig: 'دانلود پیکربندی تولید شده:',
+ andUploadItToYourServers: 'و آن را به سرورهای خود آپلود کنید',
+ directory: 'دایرکتوری.',
+ or: 'یا، ',
+ copyBase64StringOfCompressedConfig: 'یک رشته base64 از پیکربندی فشرده را کپی کنید',
+ pasteItInYourServersCommandLineAndExecute:
+ ', آن را در خط فرمان سرور خود پیست کرده و اجرا کنید.',
+ navigateToYourNginxConfigurationDirectoryOnYourServer: `به دایرکتوری پیکربندی ${common.nginx} خود در سرورتان بروید:`,
+ createABackupOfYourCurrentNginxConfiguration: `پشتیبانی از پیکربندی ${common.nginx} فعلی خود بسازید:`,
+ extractTheNewCompressedConfigurationArchiveUsingTar:
+ 'فایل فشرده پیکربندی جدید را با استفاده از tar استخراج کنید:',
+ download: 'دانلود',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js
new file mode 100644
index 00000000..6dae4eeb
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js
@@ -0,0 +1,33 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ letsGoLive: 'بیایید زنده شویم!',
+ reloadNginxToLoadInYourNewConfiguration: `${common.nginx} را بارگذاری کنید تا پیکربندی جدید شما بارگذاری شود:`,
+ goLive: 'زنده شوید!',
+};
diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/index.js b/src/nginxconfig/i18n/fa/templates/setup_sections/index.js
new file mode 100644
index 00000000..9bc34e8c
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/setup_sections/index.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import certbot from './certbot';
+import download from './download';
+import goLive from './go_live';
+import ssl from './ssl';
+
+export default { certbot, download, goLive, ssl };
diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js
new file mode 100644
index 00000000..ea911840
--- /dev/null
+++ b/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js
@@ -0,0 +1,35 @@
+/*
+Copyright 2024 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ generateDiffieHellmanKeysByRunningThisCommandOnYourServer:
+ 'کلیدهای Diffie-Hellman را با اجرای این دستور در سرور خود ایجاد کنید:',
+ createACommonAcmeChallengeDirectoryForLetsEncrypt: `یک دایرکتوری مشترک ACME-challenge (برای ${common.letsEncrypt}) ایجاد کنید:`,
+ noAdditionalStepsAreNeededToSetUpSslForNginx: `برای پیکربندی ${common.nginx} شما نیازی به مراحل اضافی برای راهاندازی ${common.ssl} ندارید.`,
+ sslInit: `${common.ssl} init`,
+};
diff --git a/src/nginxconfig/i18n/fr/languages.js b/src/nginxconfig/i18n/fr/languages.js
index 4316d64d..654df828 100644
--- a/src/nginxconfig/i18n/fr/languages.js
+++ b/src/nginxconfig/i18n/fr/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: 'Polonais',
de: 'Allemand',
ja: 'Japonais',
+ fa: 'Persan',
};
diff --git a/src/nginxconfig/i18n/ja/languages.js b/src/nginxconfig/i18n/ja/languages.js
index c1645183..0ac3e523 100644
--- a/src/nginxconfig/i18n/ja/languages.js
+++ b/src/nginxconfig/i18n/ja/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: 'ポーランド語',
de: 'ドイツ語',
ja: '日本語',
+ fa: 'ペルシア語',
};
diff --git a/src/nginxconfig/i18n/pl/languages.js b/src/nginxconfig/i18n/pl/languages.js
index e6beb159..28aae400 100644
--- a/src/nginxconfig/i18n/pl/languages.js
+++ b/src/nginxconfig/i18n/pl/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: 'Polski',
de: 'Niemiecki',
ja: 'Japoński',
+ fa: 'Perski',
};
diff --git a/src/nginxconfig/i18n/pt-br/languages.js b/src/nginxconfig/i18n/pt-br/languages.js
index 345efa81..00bb0cd7 100644
--- a/src/nginxconfig/i18n/pt-br/languages.js
+++ b/src/nginxconfig/i18n/pt-br/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: 'Polonês',
de: 'Alemão',
ja: 'Japonês',
+ fa: 'Persa',
};
diff --git a/src/nginxconfig/i18n/ru/languages.js b/src/nginxconfig/i18n/ru/languages.js
index b883074b..4ab63c42 100644
--- a/src/nginxconfig/i18n/ru/languages.js
+++ b/src/nginxconfig/i18n/ru/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: 'Польский',
de: 'Немецкий',
ja: 'Японский',
+ fa: 'Фарси',
};
diff --git a/src/nginxconfig/i18n/zh-cn/languages.js b/src/nginxconfig/i18n/zh-cn/languages.js
index 6c9a5fec..9083ee0e 100644
--- a/src/nginxconfig/i18n/zh-cn/languages.js
+++ b/src/nginxconfig/i18n/zh-cn/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: '波兰语',
de: '德语',
ja: '日语',
+ fa: '波斯语',
};
diff --git a/src/nginxconfig/i18n/zh-tw/languages.js b/src/nginxconfig/i18n/zh-tw/languages.js
index 9355d98c..d190002d 100644
--- a/src/nginxconfig/i18n/zh-tw/languages.js
+++ b/src/nginxconfig/i18n/zh-tw/languages.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,4 +35,5 @@ export default {
pl: '波蘭語',
de: '德語',
ja: '日語',
+ fa: '波斯語',
};
diff --git a/src/nginxconfig/util/language_packs.js b/src/nginxconfig/util/language_packs.js
index 669c45d1..79b2a2bc 100644
--- a/src/nginxconfig/util/language_packs.js
+++ b/src/nginxconfig/util/language_packs.js
@@ -1,5 +1,5 @@
/*
-Copyright 2022 DigitalOcean
+Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -51,4 +51,5 @@ export const availablePacks = Object.freeze([
'ru',
'zhCN',
'zhTW',
+ 'fa',
]);