Repository: digitalocean/nginxconfig.io Branch: master Commit: dd290c0b706b Files: 518 Total size: 1.2 MB Directory structure: gitextract_q2tmsz7t/ ├── .babelrc ├── .editorconfig ├── .eslintrc.cjs ├── .github/ │ ├── ISSUE_TEMPLATE/ │ │ ├── help.md │ │ ├── report-a-bug.md │ │ └── request-a-feature.md │ ├── PULL_REQUEST_TEMPLATE.md │ └── workflows/ │ ├── do-spaces-workflow.yml │ ├── gh-pages-workflow.yml │ └── test-workflow.yml ├── .gitignore ├── .husky/ │ └── pre-commit ├── .lintstagedrc.json ├── .nvmrc ├── .prettierignore ├── .prettierrc.json ├── LICENSE ├── README.md ├── package.json ├── src/ │ ├── nginxconfig/ │ │ ├── build/ │ │ │ ├── prism.js │ │ │ ├── template.js │ │ │ └── webpack-dynamic-import.js │ │ ├── generators/ │ │ │ ├── conf/ │ │ │ │ ├── drupal.conf.js │ │ │ │ ├── general.conf.js │ │ │ │ ├── joomla.conf.js │ │ │ │ ├── letsencrypt.conf.js │ │ │ │ ├── magento.conf.js │ │ │ │ ├── nginx.conf.js │ │ │ │ ├── php_fastcgi.conf.js │ │ │ │ ├── proxy.conf.js │ │ │ │ ├── python_uwsgi.conf.js │ │ │ │ ├── security.conf.js │ │ │ │ ├── website.conf.js │ │ │ │ └── wordpress.conf.js │ │ │ ├── ext/ │ │ │ │ └── docker.js │ │ │ ├── index.js │ │ │ ├── to_conf.js │ │ │ ├── to_yaml.js │ │ │ └── yaml/ │ │ │ └── dockerCompose.yaml.js │ │ ├── i18n/ │ │ │ ├── de/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── en/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── es/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── fa/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── fr/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── ja/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── pl/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── pt-br/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── ru/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ ├── setup.js │ │ │ ├── verify.js │ │ │ ├── zh-cn/ │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ ├── languages.js │ │ │ │ └── templates/ │ │ │ │ ├── app.js │ │ │ │ ├── callouts/ │ │ │ │ │ ├── contribute.js │ │ │ │ │ ├── droplet.js │ │ │ │ │ └── index.js │ │ │ │ ├── domain_sections/ │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── onion.js │ │ │ │ │ ├── php.js │ │ │ │ │ ├── presets.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── restrict.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── routing.js │ │ │ │ │ └── server.js │ │ │ │ ├── footer.js │ │ │ │ ├── global_sections/ │ │ │ │ │ ├── docker.js │ │ │ │ │ ├── https.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── logging.js │ │ │ │ │ ├── nginx.js │ │ │ │ │ ├── performance.js │ │ │ │ │ ├── python.js │ │ │ │ │ ├── reverse_proxy.js │ │ │ │ │ ├── security.js │ │ │ │ │ └── tools.js │ │ │ │ ├── index.js │ │ │ │ ├── setup.js │ │ │ │ └── setup_sections/ │ │ │ │ ├── certbot.js │ │ │ │ ├── download.js │ │ │ │ ├── go_live.js │ │ │ │ ├── index.js │ │ │ │ └── ssl.js │ │ │ └── zh-tw/ │ │ │ ├── common.js │ │ │ ├── index.js │ │ │ ├── languages.js │ │ │ └── templates/ │ │ │ ├── app.js │ │ │ ├── callouts/ │ │ │ │ ├── contribute.js │ │ │ │ ├── droplet.js │ │ │ │ └── index.js │ │ │ ├── domain_sections/ │ │ │ │ ├── https.js │ │ │ │ ├── index.js │ │ │ │ ├── logging.js │ │ │ │ ├── onion.js │ │ │ │ ├── php.js │ │ │ │ ├── presets.js │ │ │ │ ├── python.js │ │ │ │ ├── restrict.js │ │ │ │ ├── reverse_proxy.js │ │ │ │ ├── routing.js │ │ │ │ └── server.js │ │ │ ├── footer.js │ │ │ ├── global_sections/ │ │ │ │ ├── docker.js │ │ │ │ ├── https.js │ │ │ │ ├── index.js │ │ │ │ ├── logging.js │ │ │ │ ├── nginx.js │ │ │ │ ├── performance.js │ │ │ │ ├── python.js │ │ │ │ ├── reverse_proxy.js │ │ │ │ ├── security.js │ │ │ │ └── tools.js │ │ │ ├── index.js │ │ │ ├── setup.js │ │ │ └── setup_sections/ │ │ │ ├── certbot.js │ │ │ ├── download.js │ │ │ ├── go_live.js │ │ │ ├── index.js │ │ │ └── ssl.js │ │ ├── mount.js │ │ ├── scss/ │ │ │ ├── _callout.scss │ │ │ ├── _code.scss │ │ │ ├── _columns.scss │ │ │ ├── _fields.scss │ │ │ ├── _files.scss │ │ │ ├── _footer.scss │ │ │ ├── _header.scss │ │ │ ├── _modals.scss │ │ │ ├── _panel.scss │ │ │ ├── _setup.scss │ │ │ ├── _tabs.scss │ │ │ ├── _vue-select.scss │ │ │ └── style.scss │ │ ├── templates/ │ │ │ ├── app.vue │ │ │ ├── callouts/ │ │ │ │ ├── contribute.vue │ │ │ │ └── droplet.vue │ │ │ ├── domain.vue │ │ │ ├── domain_sections/ │ │ │ │ ├── https.vue │ │ │ │ ├── index.js │ │ │ │ ├── logging.vue │ │ │ │ ├── onion.vue │ │ │ │ ├── php.vue │ │ │ │ ├── presets.vue │ │ │ │ ├── python.vue │ │ │ │ ├── restrict.vue │ │ │ │ ├── reverse_proxy.vue │ │ │ │ ├── routing.vue │ │ │ │ └── server.vue │ │ │ ├── footer.vue │ │ │ ├── global.vue │ │ │ ├── global_sections/ │ │ │ │ ├── docker.vue │ │ │ │ ├── https.vue │ │ │ │ ├── index.js │ │ │ │ ├── logging.vue │ │ │ │ ├── nginx.vue │ │ │ │ ├── performance.vue │ │ │ │ ├── python.vue │ │ │ │ ├── reverse_proxy.vue │ │ │ │ ├── security.vue │ │ │ │ └── tools.vue │ │ │ ├── inputs/ │ │ │ │ ├── checkbox.vue │ │ │ │ └── radio.vue │ │ │ ├── prism/ │ │ │ │ ├── bash.vue │ │ │ │ ├── docker.vue │ │ │ │ ├── nginx.vue │ │ │ │ └── yaml.vue │ │ │ ├── setup.vue │ │ │ └── setup_sections/ │ │ │ ├── certbot.vue │ │ │ ├── download.vue │ │ │ ├── go_live.vue │ │ │ ├── index.js │ │ │ └── ssl.vue │ │ └── util/ │ │ ├── analytics.js │ │ ├── angular_backwards_compatibility.js │ │ ├── browser_language.js │ │ ├── camel_to_snake.js │ │ ├── common_hsts.js │ │ ├── computed_from_defaults.js │ │ ├── deep_merge.js │ │ ├── defaults.js │ │ ├── delegated_from_defaults.js │ │ ├── export_data.js │ │ ├── get_ssl_certificate.js │ │ ├── import_data.js │ │ ├── is_changed.js │ │ ├── is_object.js │ │ ├── language_packs.js │ │ ├── log.js │ │ ├── logging.js │ │ ├── php_path.js │ │ ├── php_upstream.js │ │ ├── prism_bundle.js │ │ ├── share_query.js │ │ ├── snake_to_camel.js │ │ ├── ssl_profiles.js │ │ ├── types_extensions.js │ │ └── vue_backwards_compatibility.js │ └── static/ │ └── robots.txt ├── test/ │ └── testBrowserLanguage.js └── vue.config.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: .babelrc ================================================ { "presets": [[ "@babel/preset-env", { "corejs": "3", "useBuiltIns": "usage" } ]], "plugins": [ "@babel/plugin-transform-runtime", "@babel/plugin-proposal-class-properties" ] } ================================================ FILE: .editorconfig ================================================ root = true [*] end_of_line = lf insert_final_newline = true indent_style = space indent_size = 4 [*.scss] indent_size = 2 [*.json] indent_size = 2 [*.yml] indent_size = 2 ================================================ FILE: .eslintrc.cjs ================================================ module.exports = { env: { browser: true, node: true, }, extends: ['eslint:recommended', 'plugin:vue/recommended', 'prettier'], parserOptions: { parser: '@babel/eslint-parser', ecmaVersion: 2018, sourceType: 'module', requireConfigFile: false, }, rules: { 'linebreak-style': ['error', 'unix'], semi: ['error', 'always'], 'comma-dangle': ['error', 'always-multiline'], 'vue/require-v-for-key': 0, 'vue/require-default-prop': 0, 'vue/no-v-html': 0, 'vue/max-attributes-per-line': 0, 'vue/html-indent': ['error', 4], 'vue/script-indent': [ 'error', 4, { baseIndent: 1, switchCase: 1, }, ], 'vue/no-unused-vars': 'warn', 'vue/html-self-closing': 0, 'vue/multi-word-component-names': 0, 'vue/no-reserved-component-names': 0, 'eol-last': ['error', 'always'], 'prettier/prettier': 'error', 'import/extensions': [ 'error', 'always', { js: 'always', vue: 'always', }, ], }, globals: { describe: true, expect: true, it: true, test: true, }, plugins: ['prettier', 'import'], }; ================================================ FILE: .github/ISSUE_TEMPLATE/help.md ================================================ --- name: Help ❓ about: Encountered a problem with the tool? --- ## Information ## Help request ### Problem ### What I have tried ### Screenshots ================================================ FILE: .github/ISSUE_TEMPLATE/report-a-bug.md ================================================ --- name: Report a bug 🐛 about: Report a bug with the tool. Only use this if you're 100% sure there's something wrong, otherwise, try "Help". --- ## Information ## Details ### Description ### Steps to reproduce ### Expected behavior ### Screenshots ================================================ FILE: .github/ISSUE_TEMPLATE/request-a-feature.md ================================================ --- name: Request a feature 🆕 about: Suggest a new feature that you would like in the tool! --- ## Feature request ### Feature description ### How the feature is useful ================================================ FILE: .github/PULL_REQUEST_TEMPLATE.md ================================================ ## Type of Change - **Build Scripts:** - **Tool Source:** - **Something else:** ## What issue does this relate to? ### What should this PR do? ### What are the acceptance criteria? ================================================ FILE: .github/workflows/do-spaces-workflow.yml ================================================ name: Deploy to DigitalOcean Spaces on: push permissions: contents: write jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: node-version-file: .nvmrc cache: npm - name: Install dependencies run: npm ci - name: Build tool run: npm run build env: NODE_ENV: production - name: Deploy commit to DigitalOcean Spaces run: aws s3 sync ./dist s3://${{ secrets.SPACES_BUCKET }}/commits/nginxconfig/${{ github.sha }} --endpoint=https://${{ secrets.SPACES_REGION }}.digitaloceanspaces.com --acl public-read --content-encoding utf8 env: AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: ${{ secrets.SPACES_REGION }} - name: Leave a comment on commit run: npm run deploy:spaces:comment env: REPO_NAME: ${{ github.repository }} COMMIT_SHA: ${{ github.sha }} GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} SPACES_REGION: ${{ secrets.SPACES_REGION }} SPACES_BUCKET: ${{ secrets.SPACES_BUCKET }} ================================================ FILE: .github/workflows/gh-pages-workflow.yml ================================================ name: Test and deploy to GitHub Pages on: push: branches: - master permissions: contents: write concurrency: group: gh-pages-workflow cancel-in-progress: true jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: node-version-file: .nvmrc cache: npm - name: Install dependencies run: npm ci - name: Test before production run: npm test - name: Build tool run: npm run build env: NODE_ENV: production - name: Deploy master to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4 with: folder: dist clean: true single-commit: true ================================================ FILE: .github/workflows/test-workflow.yml ================================================ name: Test commit or pull request on: [push, pull_request] jobs: eslint: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: node-version-file: .nvmrc cache: npm - name: Install dependencies run: npm ci - name: Test with eslint run: npm run test:eslint stylelint: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: node-version-file: .nvmrc cache: npm - name: Install dependencies run: npm ci - name: Test with stylelint run: npm run test:stylelint i18n-packs: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: node-version-file: .nvmrc cache: npm - name: Install dependencies run: npm ci - name: Test i18n packs integrity run: npm run test:i18n-packs prettier: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: node-version-file: .nvmrc cache: npm - name: Install dependencies run: npm ci - name: Test with prettier run: npm run test:prettier ================================================ FILE: .gitignore ================================================ node_modules .cache .idea .vscode .DS_Store /build/ /dist/ /dev/ .eslintcache ================================================ FILE: .husky/pre-commit ================================================ #!/bin/sh . "$(dirname "$0")/_/husky.sh" npx lint-staged ================================================ FILE: .lintstagedrc.json ================================================ { "*.{js,vue}": [ "prettier --write", "eslint --quiet --cache --fix" ], "*.scss": [ "stylelint --config node_modules/do-bulma/.stylelintrc.json --fix" ] } ================================================ FILE: .nvmrc ================================================ v20.9.0 ================================================ FILE: .prettierignore ================================================ package.json package-lock.json ================================================ FILE: .prettierrc.json ================================================ { "singleQuote": true, "trailingComma": "all", "vueIndentScriptAndStyle": true, "htmlWhitespaceSensitivity": "ignore", "printWidth": 100, "tabWidth": 4, "singleAttributePerLine": true } ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2020 DigitalOcean 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. ================================================ FILE: README.md ================================================ [![GitHub stars](https://img.shields.io/github/stars/digitalocean/nginxconfig.io.svg)](https://github.com/digitalocean/nginxconfig.io/stargazers) [![GitHub contributors](https://img.shields.io/github/contributors/digitalocean/nginxconfig.io.svg?color=blue)](https://github.com/digitalocean/nginxconfig.io/graphs/contributors) [![MIT License](https://img.shields.io/github/license/digitalocean/nginxconfig.io.svg?color=blue)](https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE)
[![Closed issues](https://img.shields.io/github/issues-closed-raw/digitalocean/nginxconfig.io.svg?color=brightgreen)](https://github.com/digitalocean/nginxconfig.io/issues?q=is%3Aissue+is%3Aclosed) [![Closed PR](https://img.shields.io/github/issues-pr-closed-raw/digitalocean/nginxconfig.io.svg?color=brightgreen)](https://github.com/digitalocean/nginxconfig.io/pulls?q=is%3Apr+is%3Aclosed) [![Open issues](https://img.shields.io/github/issues-raw/digitalocean/nginxconfig.io.svg)](https://github.com/digitalocean/nginxconfig.io/issues) [![Open PR](https://img.shields.io/github/issues-pr-raw/digitalocean/nginxconfig.io.svg)](https://github.com/digitalocean/nginxconfig.io/pulls) [![nginxconfig](src/static/banner.png)](https://do.co/nginxconfig)

⚙️ NGINX configuration generator on steroids 💉

The only tool you'll ever need to configure your NGINX server.
do.co/nginxconfig »

Report a bug · Request a feature


# ✨ [NGINX Config](https://do.co/nginxconfig) NGINX is so much more than just a webserver. You already knew that, probably. We love NGINX, because: * Low memory usage * High concurrency * Asynchronous event-driven architecture * Load balancing * Reverse proxying * FastCGI support with caching (PHP) * Amazing fast handling of static files * TLS/SSL with SNI A lot of features with corresponding configuration directives. You can deep dive into the [NGINX documentation](http://nginx.org/en/docs/) right now OR you can [use this tool](https://do.co/nginxconfig) to check how NGINX works, observe how your inputs are affecting the output, and **generate the best config for your specific use-case** (in parallel you can also still use the docs). ## 🚀 Usage `GOTO` **[`do.co/nginxconfig`](https://do.co/nginxconfig)** **Features:** HTTPS, HTTP/2, IPv6, certbot, HSTS, security headers, SSL profiles, OCSP resolvers, caching, gzip, brotli, fallback routing, reverse proxy, www/non-www redirect, CDN, PHP (TCP/socket, WordPress, Drupal, Magento, Joomla), Node.js support, Python (Django) server, etc. ## 👨‍💻 Author ### Rewrite & Maintenance **Matt (IPv4) Cowley <me@mattcowley.co.uk> (https://mattcowley.co.uk)** * GitHub: [@MattIPv4](https://github.com/MattIPv4) ### Original version **Bálint Szekeres <balint@szekeres.me> (https://balint.szekeres.me)** * GitHub: [@0xB4LINT](https://github.com/0xB4LINT) * LinkedIn: [@0xB4LINT](https://www.linkedin.com/in/0xB4LINT/) ## ▶️ Development 1. Clone the repository ```sh git clone https://github.com/digitalocean/nginxconfig.io.git ``` 2. Install NPM packages ```sh npm ci ``` 3. Run the development server *(with file watchers)* ```sh npm run dev ``` 4. Open the development site **[localhost:8080](http://localhost:8080)** 5. Lint your code *(eslint & stylelint)* ```sh npm test ``` 6. Build for production *(to the `dist` directory)* ```sh npm run build ``` ## 🤝 Contributing Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. 1. Fork the Project 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the Branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request ## ⚒️ Built With * [Vue.js](https://vuejs.org/) - Template handling & app generation * [Bulma](https://bulma.io/) - Base styling, customised by [do-bulma](https://github.com/do-community/do-bulma) * [Prism](https://prismjs.com/) - Bash & NGINX syntax highlighting ## 📚 Resources * [Mozilla SSL Configuration Generator v5](https://ssl-config.mozilla.org) * [Mozilla SSL Configuration Generator](https://mozilla.github.io/server-side-tls/ssl-config-generator/) * [OWASP TLS Cipher String Cheat Sheet](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/TLS_Cipher_String_Cheat_Sheet.md) * [Nginx Optimization: understanding sendfile, tcp_nodelay and tcp_nopush](https://thoughts.t37.net/nginx-optimization-understanding-sendfile-tcp-nodelay-and-tcp-nopush-c55cdd276765) * [NGINX Tuning For Best Performance](https://gist.github.com/denji/8359866) * [Hardening Your HTTP Security Headers](https://www.keycdn.com/blog/http-security-headers/) * [h5bp/server-configs-nginx](https://github.com/h5bp/server-configs-nginx) * [Diffie-Hellman DSA-like parameters](https://security.stackexchange.com/questions/95178/diffie-hellman-parameters-still-calculating-after-24-hours/95184#95184) * [hstspreload.org](https://hstspreload.org) * [Optimal value for nginx worker_connections](https://serverfault.com/questions/787919/optimal-value-for-nginx-worker-connections) ## ⭐️ Show your support Give a ⭐️ if this project helped you! ## 📝 License Copyright © 2020 [DigitalOcean, Inc](https://www.digitalocean.com) <contact@digitalocean.com> (https://www.digitalocean.com).
This project is licensed under the [MIT](https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE) license. ================================================ FILE: package.json ================================================ { "name": "nginxconfig.io", "version": "1.0.0", "description": "NGINX config generator on steroids", "license": "MIT", "private": true, "engines": { "node": "20.9.0" }, "main": "src/nginxconfig/mount.js", "type": "module", "scripts": { "build": "npm run build:clean && npm run build:template && npm run build:prism && npm run build:static && npm run build:tool", "build:clean": "do-vue clean", "build:template": "do-vue template && node src/nginxconfig/build/template.js", "build:prism": "node src/nginxconfig/build/prism.js", "build:static": "copyfiles --up 2 src/static/{*,**/*} dist", "build:tool": "vue-cli-service build src/nginxconfig/mount.js --no-clean", "dev": "npm run build:template && npm run build:prism && npm run dev:tool", "dev:tool": "vue-cli-service serve src/nginxconfig/mount.js", "deploy:spaces:comment": "do-vue comment nginxconfig", "test": "npm run test:prettier:fix && npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest", "test:jest": "jest --env=jsdom /test/.*.js?$", "test:fix": "npm run test:prettier:fix && npm run test:eslint:fix", "test:eslint": "eslint 'src/**/*.{js,vue}' --cache", "test:eslint:fix": "npm run test:eslint -- --fix", "test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json", "test:i18n-packs": "node src/nginxconfig/i18n/verify.js", "test:prettier": "prettier 'src/**/*.{js,vue}' --check", "test:prettier:fix": "prettier --write 'src/**/*.{js,vue}'", "prepare": "husky install" }, "jest": { "testRegex": "/test/.*.js?$" }, "repository": { "type": "git", "url": "git+https://github.com/digitalocean/nginxconfig.io.git" }, "keywords": [ "nginx" ], "author": "DigitalOcean", "bugs": { "url": "https://github.com/digitalocean/nginxconfig.io/issues" }, "homepage": "https://github.com/digitalocean/nginxconfig.io#readme", "dependencies": { "clipboard": "^2.0.11", "clone": "^2.1.2", "do-bulma": "github:do-community/do-bulma", "do-vue": "github:do-community/do-vue", "escape-html": "^1.0.3", "files-diff": "0.0.6", "json-to-pretty-yaml": "^1.2.2", "memory-tar-create": "0.0.3", "pretty-checkbox-vue": "^1.1.9", "prismjs": "^1.29.0", "qs": "^6.11.2", "simple-js-sha2-256": "^1.0.7", "vue": "^3.4.15", "vue-i18n": "^9.9.0", "vue-select": "^4.0.0-beta.6", "webpack-require-from": "^1.8.6" }, "devDependencies": { "@babel/eslint-parser": "^7.23.3", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-transform-runtime": "^7.23.7", "@babel/preset-env": "^7.23.8", "@babel/runtime": "^7.23.8", "@vue/cli-service": "^5.0.8", "ajv": "^8.12.0", "chalk": "^5.3.0", "copyfiles": "^2.4.1", "core-js": "^3.35.1", "duplicate-package-checker-webpack-plugin": "^3.0.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.30.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-vue": "^9.20.1", "husky": "^8.0.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.2.10", "node-fetch": "^3.3.2", "postcss": "^8.4.33", "prettier": "3.2.4", "sass": "^1.70.0", "sass-loader": "^14.0.0", "stylelint": "^16.2.0", "stylelint-config-standard-scss": "^13.0.0", "stylelint-order": "^6.0.4", "vue-template-compiler": "^2.7.16", "webpack": "^5.94.0", "webpack-bundle-analyzer": "^4.10.1" }, "overrides": { "@vue/cli-service": { "mini-css-extract-plugin": "^1.6.2", "@achrinza/node-ipc": "^10.1.10" }, "pretty-checkbox-vue": { "vue": "^3.0.0" } } } ================================================ FILE: src/nginxconfig/build/prism.js ================================================ /* Copyright 2022 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 { promises as fs } from 'fs'; import { URL } from 'url'; import fetch from 'node-fetch'; const main = async () => { const resp = await fetch('https://assets.digitalocean.com/prism/prism.css'); const text = await resp.text(); // Fix $676767 -> #676767 const fixed = text.replace(/:\s*\$((?:[0-9a-fA-F]{3}){1,2});/g, ':#$1;'); const buildDir = '../../../build'; await fs.writeFile(new URL(`${buildDir}/prism.css`, import.meta.url), fixed); }; main() .then(() => {}) .catch((err) => { console.error(err); process.exit(1); }); ================================================ FILE: src/nginxconfig/build/template.js ================================================ /* Copyright 2022 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 fs from 'fs'; import { URL } from 'url'; // Fetch the posthtml template and convert it to an ejs template const main = () => { const buildDir = '../../../build'; let template = fs.readFileSync(new URL(`${buildDir}/base.html`, import.meta.url), 'utf8'); // Inject our title now template = template.replace( 'DigitalOcean', 'NGINXConfig | DigitalOcean', ); // Inject our app mounting point template = template.replace('', '
'); fs.writeFileSync(new URL(`${buildDir}/index.html`, import.meta.url), template); }; main(); ================================================ FILE: src/nginxconfig/build/webpack-dynamic-import.js ================================================ /* 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 { info } from '../util/log.js'; const originalSrcDir = document.currentScript.src.split('/').slice(0, -2).join('/') + '/'; window.__webpackDynamicImportURL = () => { info(`Using ${originalSrcDir} for webpack dynamic import`); return originalSrcDir; }; ================================================ FILE: src/nginxconfig/generators/conf/drupal.conf.js ================================================ /* Copyright 2020 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 (global) => { const config = {}; config['# Drupal: deny private files'] = ''; config[ 'location ~ ((^|/)\\.|^.*\\.yml$|^/sites/.*/private/|^/sites/[^/]+/[^/]*settings.*\\.php$)' ] = { deny: 'all', return: '404', }; config['# Drupal: deny php in files'] = ''; config['location ~ ^/sites/[^/]+/files/.*\\.php$'] = { deny: 'all', }; config['# Drupal: deny php in vendor'] = ''; config['location ~ /vendor/.*\\.php$'] = { deny: 'all', }; config['# Drupal: allow image styles to be handled by the CMS'] = ''; config['location ~ ^/sites/[^/]+/files/styles/'] = { try_files: '$uri /index.php?q=$uri&$args', }; config['# Drupal: handle private files'] = ''; config['location ~ ^(/[a-z\\-]+)?/system/files/'] = { try_files: '$uri /index.php?$query_string', }; if (global.security.limitReq.computed) { config['# Drupal: throttle user functions'] = ''; config['location ~ ^/user/(?:login|register|password)'] = { limit_req: 'zone=login burst=2 nodelay', try_files: '$uri /index.php?$query_string', }; } // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/general.conf.js ================================================ /* 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 { gzipTypes, extensions } from '../../util/types_extensions.js'; export default (domains, global) => { const config = {}; config['# favicon.ico'] = ''; config['location = /favicon.ico'] = { log_not_found: 'off', }; config['# robots.txt'] = ''; config['location = /robots.txt'] = { log_not_found: 'off', }; if (global.performance.disableHtmlCaching.computed) { // Disable HTML caching for changes take effect in time config['# Disable HTML caching'] = ''; const loc = `location ~* \\.(?:${extensions.html})$`; config[loc] = { add_header: 'Cache-Control "no-cache"', }; } if (domains.every((d) => d.routing.root.computed)) { if ( global.performance.assetsExpiration.computed === global.performance.mediaExpiration.computed ) { if (global.performance.assetsExpiration.computed) { // Assets & media combined config['# assets, media'] = ''; const loc = `location ~* \\.(?:${extensions.assets}|${extensions.images}|${extensions.audio}|${extensions.video})$`; config[loc] = { expires: global.performance.assetsExpiration.computed, }; } } else { // Assets & media separately if (global.performance.assetsExpiration.computed) { config['# assets'] = ''; const loc = `location ~* \\.(?:${extensions.assets})$`; config[loc] = { expires: global.performance.assetsExpiration.computed, }; } if (global.performance.mediaExpiration.computed) { config['# media'] = ''; const loc = `location ~* \\.(?:${extensions.images}|${extensions.audio}|${extensions.video})$`; config[loc] = { expires: global.performance.mediaExpiration.computed, }; } } if ( global.performance.svgExpiration.computed === global.performance.fontsExpiration.computed ) { if (global.performance.svgExpiration.computed) { // SVG & fonts combined config['# svg, fonts'] = ''; const loc = `location ~* \\.(?:${extensions.svg}|${extensions.fonts})$`; config[loc] = { add_header: 'Access-Control-Allow-Origin "*"', expires: global.performance.svgExpiration.computed, }; } } else { // SVG & fonts separately if (global.performance.svgExpiration.computed) { config['# svg'] = ''; const loc = `location ~* \\.${extensions.svg}$`; config[loc] = { add_header: 'Access-Control-Allow-Origin "*"', expires: global.performance.svgExpiration.computed, }; } if (global.performance.fontsExpiration.computed) { config['# fonts'] = ''; const loc = `location ~* \\.${extensions.fonts}$`; config[loc] = { add_header: 'Access-Control-Allow-Origin "*"', expires: global.performance.fontsExpiration.computed, }; } } } if (global.performance.gzipCompression.computed) { config['# gzip'] = ''; config.gzip = 'on'; config.gzip_vary = 'on'; config.gzip_proxied = 'any'; config.gzip_comp_level = 6; config.gzip_types = gzipTypes; } if (global.performance.brotliCompression.computed) { config['# brotli'] = ''; config.brotli = 'on'; config.brotli_comp_level = 6; config.brotli_types = gzipTypes; } // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/joomla.conf.js ================================================ /* Copyright 2020 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 () => { const config = {}; config['# Joomla: deny running scripts inside writable directories'] = ''; config['location ~* /(images|cache|media|logs|tmp)/.*\\.(php|pl|py|jsp|asp|sh|cgi)$'] = { return: '403', error_page: '403 /403_error.html', }; config['# Joomla: caching of files'] = ''; config['location ~* \\.(ico|pdf|flv)$'] = { expires: '1y', }; config['# Joomla: caching of files'] = ''; config['location ~* \\.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$'] = { expires: '14d', }; // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/letsencrypt.conf.js ================================================ /* Copyright 2020 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 (global) => { const config = {}; config['# ACME-challenge'] = ''; config['location ^~ /.well-known/acme-challenge/'] = { root: global.https.letsEncryptRoot.computed.replace(/\/+$/, ''), }; // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/magento.conf.js ================================================ /* Copyright 2020 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 () => { const config = {}; config['# Magento: setup'] = ''; config['location ^~ /setup'] = { root: '$base', '# allow index.php': '', 'location ~ ^/setup/index.php': { include: 'nginxconfig.io/php_fastcgi.conf', }, '# deny everything except pub': '', 'location ~ ^/setup/(?!pub/).': { deny: 'all', }, }; config['# Magento: update'] = ''; config['location ^~ /update'] = { root: '$base', '# allow index.php': '', 'location ~ ^/update/index.php': { include: 'nginxconfig.io/php_fastcgi.conf', }, '# deny everything except pub': '', 'location ~ ^/update/(?!pub/).': { deny: 'all', }, }; config['# Magento: media files'] = ''; config['location ^~ /media/'] = { try_files: '$uri $uri/ /get.php?$args', 'location ~* \\.(?:ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$': { expires: '+1y', add_header: 'Cache-Control "public"', try_files: '$uri $uri/ /get.php?$args', }, 'location ~* \\.(?:zip|gz|gzip|bz2|csv|xml)$': { expires: 'off', add_header: 'Cache-Control "no-store"', try_files: '$uri $uri/ /get.php?$args', }, 'location ~ ^/media/theme_customization/.*\\.xml': { deny: 'all', }, 'location ~ ^/media/(?:customer|downloadable|import)/': { deny: 'all', }, }; config['# Magento: static route'] = ''; config['location @magento_static'] = { rewrite: '^/static/(version\\d*/)?(.*)$ /static.php?resource=$2 last', }; config['# Magento: static files'] = ''; config['location ^~ /static/'] = { expires: 'max', try_files: '$uri $uri/ @magento_static', 'location ~* \\.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$': { expires: '+1y', add_header: 'Cache-Control "public"', try_files: '$uri $uri/ magento_static', }, 'location ~* .(zip|gz|gzip|bz2|csv|xml)$': { expires: 'off', add_header: 'Cache-Control "no-store"', try_files: '$uri $uri/ @magento_static', }, }; config['# Magento: deny cron'] = ''; config['location ~ cron\\.php'] = { deny: 'all', }; // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/nginx.conf.js ================================================ /* 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 { errorLogPathDisabled } from '../../util/logging.js'; import sslProfiles from '../../util/ssl_profiles.js'; import websiteConf from './website.conf.js'; export default (domains, global) => { const config = {}; // Source config['# Generated by nginxconfig.io'] = ''; config['# See nginxconfig.txt for the configuration share link'] = ''; // Basic nginx conf config.user = global.nginx.user.computed; if (global.nginx.pid.computed) config.pid = global.nginx.pid.computed; config.worker_processes = global.nginx.workerProcesses.computed; config.worker_rlimit_nofile = 65535; // Modules config['# Load modules'] = ''; config.include = `${global.nginx.nginxConfigDirectory.computed.replace( /\/+$/, '', )}/modules-enabled/*.conf`; // Events config.events = { multi_accept: 'on', worker_connections: 65535, }; // HTTP (kv so we can use the same key multiple times) config.http = []; config.http.push(['charset', 'utf-8']); config.http.push(['sendfile', 'on']); config.http.push(['tcp_nopush', 'on']); config.http.push(['tcp_nodelay', 'on']); if (!global.security.serverTokens.computed) config.http.push(['server_tokens', 'off']); if (!global.logging.logNotFound.computed) config.http.push(['log_not_found', 'off']); config.http.push(['types_hash_max_size', global.nginx.typesHashMaxSize.computed]); config.http.push(['types_hash_bucket_size', global.nginx.typesHashBucketSize.computed]); config.http.push(['client_max_body_size', `${global.nginx.clientMaxBodySize.computed}M`]); config.http.push(['# MIME', '']); config.http.push(['include', 'mime.types']); config.http.push(['default_type', 'application/octet-stream']); // Append Cloudflare request headers to the default log format if (global.logging.cloudflare.computed) { config.http.push(['# Log Format', '']); // Define default log format as an array let logging = [ '$remote_addr', '-', '$remote_user', '[$time_local]', '"$request"', '$status', '$body_bytes_sent', '"$http_referer"', '"$http_user_agent"', ]; if (global.logging.cfRay.computed) logging.push('$http_cf_ray'); if (global.logging.cfConnectingIp.computed) logging.push('$http_cf_connecting_ip'); if (global.logging.xForwardedFor.computed) logging.push('$http_x_forwarded_for'); if (global.logging.xForwardedProto.computed) logging.push('$http_x_forwarded_proto'); if (global.logging.trueClientIp.computed) logging.push('$http_true_client_ip'); if (global.logging.cfIpCountry.computed) logging.push('$http_cf_ipcountry'); if (global.logging.cfVisitor.computed) logging.push('$http_cf_visitor'); if (global.logging.cdnLoop.computed) logging.push('$http_cdn_loop'); config.http.push(['log_format', `cloudflare '${logging.join(' ')}'`]); } config.http.push(['# Logging', '']); config.http.push(['access_log', 'off']); if (global.logging.errorLogEnabled.computed) { config.http.push([ 'error_log', global.logging.errorLogPath.computed.trim() + ` ${global.logging.errorLogLevel.computed}`, ]); } else { config.http.push(['error_log', errorLogPathDisabled]); } if (global.security.limitReq.computed) { config.http.push(['# Limits', '']); config.http.push(['limit_req_log_level', 'warn']); config.http.push(['limit_req_zone', '$binary_remote_addr zone=login:10m rate=10r/m']); } // HTTPS let hasHttps = false; for (const domain of domains) { if (domain && domain.https && domain.https.https && domain.https.https.computed) { hasHttps = true; break; } } if (hasHttps) { config.http.push(['# SSL', '']); config.http.push(['ssl_session_timeout', '1d']); config.http.push(['ssl_session_cache', 'shared:SSL:10m']); config.http.push(['ssl_session_tickets', 'off']); const sslProfile = sslProfiles[global.https.sslProfile.computed]; if (sslProfile) { if (sslProfile.dh_param_size) { config.http.push(['# Diffie-Hellman parameter for DHE ciphersuites', '']); config.http.push([ 'ssl_dhparam', `${global.nginx.nginxConfigDirectory.computed.replace(/\/+$/, '')}/dhparam.pem`, ]); } config.http.push([`# ${sslProfile.name} configuration`, '']); config.http.push(['ssl_protocols', sslProfile.protocols.join(' ')]); if (sslProfile.ciphers.length) config.http.push(['ssl_ciphers', sslProfile.ciphers.join(':')]); if (sslProfile.server_preferred_order) config.http.push(['ssl_prefer_server_ciphers', 'on']); } config.http.push(['# OCSP Stapling', '']); config.http.push(['ssl_stapling', 'on']); config.http.push(['ssl_stapling_verify', 'on']); const ips = []; if (global.https.ocspCloudflare.computed) { if (['ipv4', 'both'].includes(global.https.ocspCloudflareType.computed)) ips.push('1.1.1.1', '1.0.0.1'); if (['ipv6', 'both'].includes(global.https.ocspCloudflareType.computed)) ips.push('[2606:4700:4700::1111]', '[2606:4700:4700::1001]'); } if (global.https.ocspGoogle.computed) { if (['ipv4', 'both'].includes(global.https.ocspGoogleType.computed)) ips.push('8.8.8.8', '8.8.4.4'); if (['ipv6', 'both'].includes(global.https.ocspGoogleType.computed)) ips.push('[2001:4860:4860::8888]', '[2001:4860:4860::8844]'); } if (global.https.ocspOpenDns.computed) { if (['ipv4', 'both'].includes(global.https.ocspOpenDnsType.computed)) ips.push('208.67.222.222', '208.67.220.220'); if (['ipv6', 'both'].includes(global.https.ocspOpenDnsType.computed)) ips.push('[2620:119:35::35]', '[2620:119:53::53]'); } if (global.https.ocspQuad9.computed) { if (['ipv4', 'both'].includes(global.https.ocspQuad9Type.computed)) ips.push('9.9.9.9', '149.112.112.112'); if (['ipv6', 'both'].includes(global.https.ocspQuad9Type.computed)) ips.push('[2620:fe::fe]', '[2620:fe::9]'); } if (global.https.ocspVerisign.computed) { if (['ipv4', 'both'].includes(global.https.ocspVerisignType.computed)) ips.push('64.6.64.6', '64.6.65.6'); if (['ipv6', 'both'].includes(global.https.ocspVerisignType.computed)) ips.push('[2620:74:1b::1:1]', '[2620:74:1c::2:2]'); } if (ips.length) { config.http.push(['resolver', `${ips.join(' ')} valid=60s`]); config.http.push(['resolver_timeout', '2s']); } } // Connection header for WebSocket reverse proxy if (domains.some((d) => d.reverseProxy.reverseProxy.computed)) { config.http.push(['# Connection header for WebSocket reverse proxy', '']); config.http.push([ 'map $http_upgrade $connection_upgrade', { default: 'upgrade', '""': 'close', }, ]); // See https://www.nginx.com/resources/wiki/start/topics/examples/forwarded/ config.http.push([ 'map $remote_addr $proxy_forwarded_elem', { '# IPv4 addresses can be sent as-is': '', '~^[0-9.]+$': '"for=$remote_addr"', '# IPv6 addresses need to be bracketed and quoted': '', '~^[0-9A-Fa-f:.]+$': '"for=\\"[$remote_addr]\\""', '# Unix domain socket names cannot be represented in RFC 7239 syntax': '', default: '"for=unknown"', }, ]); config.http.push([ 'map $http_forwarded $proxy_add_forwarded', { '# If the incoming Forwarded header is syntactically valid, append to it': '', '': '"~^(,[ \\\\t]*)*([!#$%&\'*+.^_`|~0-9A-Za-z-]+=([!#$%&\'*+.^_`|~0-9A-Za-z-]+|\\"([\\\\t \\\\x21\\\\x23-\\\\x5B\\\\x5D-\\\\x7E\\\\x80-\\\\xFF]|\\\\\\\\[\\\\t \\\\x21-\\\\x7E\\\\x80-\\\\xFF])*\\"))?(;([!#$%&\'*+.^_`|~0-9A-Za-z-]+=([!#$%&\'*+.^_`|~0-9A-Za-z-]+|\\"([\\\\t \\\\x21\\\\x23-\\\\x5B\\\\x5D-\\\\x7E\\\\x80-\\\\xFF]|\\\\\\\\[\\\\t \\\\x21-\\\\x7E\\\\x80-\\\\xFF])*\\"))?)*([ \\\\t]*,([ \\\\t]*([!#$%&\'*+.^_`|~0-9A-Za-z-]+=([!#$%&\'*+.^_`|~0-9A-Za-z-]+|\\"([\\\\t \\\\x21\\\\x23-\\\\x5B\\\\x5D-\\\\x7E\\\\x80-\\\\xFF]|\\\\\\\\[\\\\t \\\\x21-\\\\x7E\\\\x80-\\\\xFF])*\\"))?(;([!#$%&\'*+.^_`|~0-9A-Za-z-]+=([!#$%&\'*+.^_`|~0-9A-Za-z-]+|\\"([\\\\t \\\\x21\\\\x23-\\\\x5B\\\\x5D-\\\\x7E\\\\x80-\\\\xFF]|\\\\\\\\[\\\\t \\\\x21-\\\\x7E\\\\x80-\\\\xFF])*\\"))?)*)?)*$" "$http_forwarded, $proxy_forwarded_elem"', '# Otherwise, replace it': '', default: '"$proxy_forwarded_elem"', }, ]); } // Configs! config.http.push(['# Load configs', '']); config.http.push([ 'include', [ `${global.nginx.nginxConfigDirectory.computed.replace(/\/+$/, '')}/conf.d/*.conf`, global.tools.modularizedStructure.computed ? `${global.nginx.nginxConfigDirectory.computed.replace( /\/+$/, '', )}/sites-enabled/*` : '', ].filter((x) => x.length), ]); // Single file configs if (!global.tools.modularizedStructure.computed) { const ipPortPairs = new Set(); for (const domain of domains) { config.http.push([`# ${domain.server.domain.computed}`, '']); config.http.push(...websiteConf(domain, domains, global, ipPortPairs)); } } // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/php_fastcgi.conf.js ================================================ /* Copyright 2021 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 (domains) => { const legacyRouting = domains.some((d) => d.routing.legacyPhpRouting.computed); const config = {}; if (legacyRouting) { config['# split path'] = ''; config.fastcgi_split_path_info = '^(.+\\.php)(/.+)$'; config.set = '$_fastcgi_path_info $fastcgi_path_info'; } config['# 404'] = ''; config.try_files = '$fastcgi_script_name =404'; config['# default fastcgi_params'] = ''; config.include = 'fastcgi_params'; config['# fastcgi settings'] = ''; config.fastcgi_index = 'index.php'; config.fastcgi_buffers = '8 16k'; config.fastcgi_buffer_size = '32k'; config['# fastcgi params'] = ''; config['fastcgi_param DOCUMENT_ROOT'] = '$realpath_root'; config['fastcgi_param SCRIPT_FILENAME'] = '$realpath_root$fastcgi_script_name'; if (legacyRouting) config['fastcgi_param PATH_INFO'] = '$_fastcgi_path_info'; config['fastcgi_param PHP_ADMIN_VALUE'] = '"open_basedir=$base/:/usr/lib/php/:/tmp/"'; // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/proxy.conf.js ================================================ /* Copyright 2022 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 (global) => { const config = {}; config.proxy_http_version = '1.1'; config.proxy_cache_bypass = '$http_upgrade'; config['# Proxy SSL'] = ''; config['proxy_ssl_server_name'] = 'on'; config['# Proxy headers'] = ''; config['proxy_set_header Upgrade'] = '$http_upgrade'; config['proxy_set_header Connection'] = '$connection_upgrade'; config['proxy_set_header X-Real-IP'] = '$remote_addr'; config['proxy_set_header Forwarded'] = '$proxy_add_forwarded'; if (global.reverseProxy.proxyCoexistenceXForwarded.computed == 'passOn') { config['proxy_set_header X-Forwarded-For'] = '$proxy_add_x_forwarded_for'; config['proxy_set_header X-Forwarded-Proto'] = '$scheme'; config['proxy_set_header X-Forwarded-Host'] = '$host'; config['proxy_set_header X-Forwarded-Port'] = '$server_port'; } else { config['proxy_set_header X-Forwarded-For'] = '""'; config['proxy_set_header X-Forwarded-Proto'] = '""'; config['proxy_set_header X-Forwarded-Host'] = '""'; config['proxy_set_header X-Forwarded-Port'] = '""'; } config['# Proxy timeouts'] = ''; config['proxy_connect_timeout'] = global.reverseProxy.proxyConnectTimeout.computed; config['proxy_send_timeout'] = global.reverseProxy.proxySendTimeout.computed; config['proxy_read_timeout'] = global.reverseProxy.proxyReadTimeout.computed; // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/python_uwsgi.conf.js ================================================ /* Copyright 2020 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 (global) => { const config = {}; config['# default uwsgi_params'] = ''; config.include = 'uwsgi_params'; config['# uwsgi settings'] = ''; config.uwsgi_pass = (global.python.pythonServer.computed[0] === '/' ? 'unix:' : '') + global.python.pythonServer.computed; config['uwsgi_param Host'] = '$host'; config['uwsgi_param X-Real-IP'] = '$remote_addr'; config['uwsgi_param X-Forwarded-For'] = '$proxy_add_x_forwarded_for'; config['uwsgi_param X-Forwarded-Proto'] = '$http_x_forwarded_proto'; // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/security.conf.js ================================================ /* 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 commonHsts from '../../util/common_hsts.js'; export default (domains, global) => { const config = []; config.push(['# security headers', '']); config.push(['add_header X-XSS-Protection', '"1; mode=block" always']); config.push(['add_header X-Content-Type-Options', '"nosniff" always']); config.push([ 'add_header Referrer-Policy', `"${global.security.referrerPolicy.computed}" always`, ]); if (global.security.contentSecurityPolicy.computed) config.push([ 'add_header Content-Security-Policy', `"${global.security.contentSecurityPolicy.computed}" always`, ]); if (global.security.permissionsPolicy.computed) config.push([ 'add_header Permissions-Policy', `"${global.security.permissionsPolicy.computed}" always`, ]); // Every domain has HSTS enabled, and they all have same hstsSubdomains/hstsPreload settings if (commonHsts(domains)) { const commonHSTSSubdomains = domains.length && domains[0].https.hstsSubdomains.computed; const commonHSTSPreload = domains.length && domains[0].https.hstsPreload.computed; config.push([ 'add_header Strict-Transport-Security', `"max-age=31536000${commonHSTSSubdomains ? '; includeSubDomains' : ''}${ commonHSTSPreload ? '; preload' : '' }" always`, ]); } config.push(['# . files', '']); config.push([ 'location ~ /\\.(?!well-known)', { deny: 'all', }, ]); // Security.txt if (global.security.securityTxt.computed) { config.push(['# security.txt', '']); config.push([ 'location /security.txt', { return: '301 /.well-known/security.txt', }, ]); // Custom security.txt path config.push([ 'location = /.well-known/security.txt', { alias: `${global.security.securityTxtPath.value}`, }, ]); } // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/conf/website.conf.js ================================================ /* 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 { getSslCertificate, getSslCertificateKey } from '../../util/get_ssl_certificate.js'; import { extensions, gzipTypes } from '../../util/types_extensions.js'; import { getDomainAccessLog, getDomainErrorLog } from '../../util/logging.js'; import commonHsts from '../../util/common_hsts.js'; import securityConf from './security.conf.js'; import pythonConf from './python_uwsgi.conf.js'; import proxyConf from './proxy.conf.js'; import phpConf from './php_fastcgi.conf.js'; import generalConf from './general.conf.js'; import wordPressConf from './wordpress.conf.js'; import drupalConf from './drupal.conf.js'; import magentoConf from './magento.conf.js'; import joomlaConf from './joomla.conf.js'; import letsEncryptConf from './letsencrypt.conf.js'; import phpPath from '../../util/php_path.js'; import phpUpstream from '../../util/php_upstream.js'; const sslConfig = (domain, global) => { const config = []; if (domain.https.https.computed) { config.push(['# SSL', '']); config.push(['ssl_certificate', getSslCertificate(domain, global)]); config.push(['ssl_certificate_key', getSslCertificateKey(domain, global)]); // Let's encrypt if (domain.https.certType.computed === 'letsEncrypt') config.push([ 'ssl_trusted_certificate', `${global.https.letsEncryptCertRoot.computed.replace(/\/+$/, '')}/${ domain.server.domain.computed }/chain.pem`, ]); } return config; }; const httpsListen = (domain, global, ipPortPairs) => { const config = []; // Check if reuseport needs to be set const ipPortV4 = `${ domain.server.listenIpv4.computed === '*' ? '' : `${domain.server.listenIpv4.computed}:` }443`; const reusePortV4 = global.https.portReuse.computed && !ipPortPairs.has(ipPortV4); if (reusePortV4) ipPortPairs.add(ipPortV4); // HTTPS config.push([ 'listen', `${ipPortV4} ssl${domain.https.http2.computed ? ' http2' : ''}${ reusePortV4 ? ' reuseport' : '' }`, ]); // HTTP/3 if (domain.https.http3.computed) config.push(['listen', `${ipPortV4} http3`]); // v6 if (domain.server.listenIpv6.computed) { // Check if reuseport needs to be set const ipPortV6 = `[${domain.server.listenIpv6.computed}]:443`; const reusePortV6 = global.https.portReuse.computed && !ipPortPairs.has(ipPortV6); if (reusePortV6) ipPortPairs.add(ipPortV6); // HTTPS config.push([ 'listen', `${ipPortV6} ssl${domain.https.http2.computed ? ' http2' : ''}${ reusePortV6 ? ' reuseport' : '' }`, ]); // HTTP/3 if (domain.https.http3.computed) config.push(['listen', `${ipPortV6} http3`]); } return config; }; const httpListen = (domain, global, ipPortPairs) => { const config = []; // Check if reuseport needs to be set const ipPortV4 = `${ domain.server.listenIpv4.computed === '*' ? '' : `${domain.server.listenIpv4.computed}:` }80`; const reusePortV4 = global.https.portReuse.computed && !ipPortPairs.has(ipPortV4); if (reusePortV4) ipPortPairs.add(ipPortV4); // v4 config.push(['listen', `${ipPortV4}${reusePortV4 ? ' reuseport' : ''}`]); // v6 if (domain.server.listenIpv6.computed) { // Check if reuseport needs to be set const ipPortV6 = `[${domain.server.listenIpv6.computed}]:80`; const reusePortV6 = global.https.portReuse.computed && !ipPortPairs.has(ipPortV6); if (reusePortV6) ipPortPairs.add(ipPortV6); config.push(['listen', `${ipPortV6}${reusePortV6 ? ' reuseport' : ''}`]); } return config; }; const listenConfig = (domain, global, ipPortPairs) => { if (domain.https.https.computed) return httpsListen(domain, global, ipPortPairs); return httpListen(domain, global, ipPortPairs); }; const httpRedirectConfig = (domain, global, ipPortPairs, domainName, redirectDomain) => { // Build the server config on its own before adding it to the parent config const config = []; config.push(...httpListen(domain, global, ipPortPairs)); config.push(['server_name', domainName]); // Logging if (domain.logging.redirectAccessLog.computed || domain.logging.redirectErrorLog.computed) { config.push(['# logging', '']); if (domain.logging.redirectAccessLog.computed) { config.push(['access_log', getDomainAccessLog(domain, global)]); } if (domain.logging.redirectErrorLog.computed) { config.push(['error_log', getDomainErrorLog(domain)]); } } if (domain.https.certType.computed === 'letsEncrypt') { // Let's encrypt if (global.tools.modularizedStructure.computed) { // Modularized config.push(['include', 'nginxconfig.io/letsencrypt.conf']); } else { // Unified config.push(...Object.entries(letsEncryptConf(global))); } config.push([ 'location /', { return: `301 https://${redirectDomain ? redirectDomain : domainName}$request_uri`, }, ]); } else { // Custom cert config.push([ 'return', `301 https://${redirectDomain ? redirectDomain : domainName}$request_uri`, ]); } return config; }; export default (domain, domains, global, ipPortPairs) => { // Use kv so we can use the same key multiple times const config = []; // Build the server config on its own before adding it to the parent config const serverConfig = []; // Not HTTPS or not force HTTPS if (!domain.https.https.computed || !domain.https.forceHttps.computed) serverConfig.push(...httpListen(domain, global, ipPortPairs)); // HTTPS if (domain.https.https.computed) serverConfig.push(...httpsListen(domain, global, ipPortPairs)); serverConfig.push([ 'server_name', `${domain.server.wwwSubdomain.computed ? 'www.' : ''}${domain.server.domain.computed}`, ]); // PHP or Django if ( domain.php.php.computed || (domain.python.python.computed && domain.python.djangoRules.computed) ) { serverConfig.push(['set', `$base ${domain.server.path.computed}`]); // root if (domain.routing.root.computed) serverConfig.push(['root', `$base${domain.server.documentRoot.computed}`]); } // Not PHP and not Django and root if ( !domain.php.php.computed && (!domain.python.python.computed || !domain.python.djangoRules.computed) && domain.routing.root.computed ) serverConfig.push([ 'root', `${domain.server.path.computed}${domain.server.documentRoot.computed}`, ]); // HTTPS serverConfig.push(...sslConfig(domain, global)); // Onion location if (domain.onion.onionLocation.computed) { serverConfig.push(['# Onion services', '']); serverConfig.push([ 'add_header Onion-Location', `http://${domain.onion.onionLocation.computed}$request_uri`, ]); } // HSTS if (!commonHsts(domains) && domain.https.hsts.computed) { serverConfig.push(['# HSTS', '']); serverConfig.push([ 'add_header Strict-Transport-Security', `"max-age=31536000${domain.https.hstsSubdomains.computed ? '; includeSubDomains' : ''}${ domain.https.hstsPreload.computed ? '; preload' : '' }" always`, ]); } // Security if (global.tools.modularizedStructure.computed) { // Modularized serverConfig.push(['# security', '']); serverConfig.push(['include', 'nginxconfig.io/security.conf']); } else { // Unified serverConfig.push(...securityConf(domains, global)); } // Restrict Methods if ( Object.keys(domain.restrict).find( (k) => domain.restrict[k].computed && k !== 'responseCode', ) ) { const allowedKeys = Object.keys(domain.restrict) .filter((k) => !domain.restrict[k].computed && k !== 'responseCode') .map((e) => e.replace('Method', '').toUpperCase()); serverConfig.push(['# restrict methods', '']); serverConfig.push([ `if ($request_method !~ ^(${allowedKeys.join('|')})$)`, { return: `'${domain.restrict.responseCode.computed}'`, }, ]); } // Access log or error log for domain if (domain.logging.accessLogEnabled.computed || domain.logging.errorLogEnabled.computed) { serverConfig.push(['# logging', '']); if (domain.logging.accessLogEnabled.computed) serverConfig.push(['access_log', getDomainAccessLog(domain, global)]); if (domain.logging.errorLogEnabled.computed) serverConfig.push(['error_log', getDomainErrorLog(domain)]); } // index.php if (domain.routing.index.computed === 'index.php') { serverConfig.push(['# index.php', '']); serverConfig.push(['index', 'index.php']); } // Fallback index.html or index.php if ( (domain.routing.fallbackHtml.computed || domain.routing.fallbackPhp.computed) && (!domain.reverseProxy.reverseProxy.computed || domain.reverseProxy.path.computed !== '/') ) { serverConfig.push([ `# index.${ domain.routing.fallbackHtml.computed ? 'html' : domain.routing.fallbackPhp.computed ? 'php' : '' } fallback`, '', ]); serverConfig.push([ 'location /', { try_files: `$uri $uri/ /index.${ domain.routing.fallbackHtml.computed ? 'html' : domain.routing.fallbackPhp.computed ? 'php?$query_string' : '' }`, }, ]); } // Fallback index.html and index.php if (domain.routing.fallbackHtml.computed && domain.routing.fallbackPhp.computed) { serverConfig.push(['# index.php fallback', '']); serverConfig.push([ `location ~ ^${domain.routing.fallbackPhpPath.computed}`, { try_files: '$uri $uri/ /index.php?$query_string', }, ]); } // Python if (domain.python.python.computed) { if (global.tools.modularizedStructure.computed) { // Modularized serverConfig.push(['location /', { include: 'nginxconfig.io/python_uwsgi.conf' }]); } else { // Unified serverConfig.push(['location /', pythonConf(global)]); } // Django if (domain.python.djangoRules.computed) { serverConfig.push(['# Django media', '']); serverConfig.push(['location /media/', { alias: '$base/media/' }]); serverConfig.push(['# Django static', '']); serverConfig.push(['location /static/', { alias: '$base/static/' }]); } } // Reverse proxy if (domain.reverseProxy.reverseProxy.computed) { const locConf = []; locConf.push(['proxy_pass', domain.reverseProxy.proxyPass.computed]); locConf.push(['proxy_set_header Host', domain.reverseProxy.proxyHostHeader.computed]); if (global.tools.modularizedStructure.computed) { // Modularized locConf.push(['include', 'nginxconfig.io/proxy.conf']); } else { // Unified locConf.push(...Object.entries(proxyConf(global))); } serverConfig.push(['# reverse proxy', '']); serverConfig.push([`location ${domain.reverseProxy.path.computed}`, locConf]); } // Additional config if (global.tools.modularizedStructure.computed) { // Modularized serverConfig.push(['# additional config', '']); serverConfig.push(['include', 'nginxconfig.io/general.conf']); if (!domain.https.forceHttps.computed && domain.https.certType.computed === 'letsEncrypt') serverConfig.push(['include', 'nginxconfig.io/letsencrypt.conf']); if (domain.php.wordPressRules.computed) serverConfig.push([ 'include', `nginxconfig.io/${domain.server.domain.computed}.wordpress.conf`, ]); if (domain.php.drupalRules.computed) serverConfig.push(['include', 'nginxconfig.io/drupal.conf']); if (domain.php.magentoRules.computed) serverConfig.push(['include', 'nginxconfig.io/magento.conf']); if (domain.php.joomlaRules.computed) serverConfig.push(['include', 'nginxconfig.io/joomla.conf']); } else { // Unified serverConfig.push(...Object.entries(generalConf(domains, global))); if (!domain.https.forceHttps.computed && domain.https.certType.computed === 'letsEncrypt') serverConfig.push(...Object.entries(letsEncryptConf(global))); if (domain.php.wordPressRules.computed) serverConfig.push(...Object.entries(wordPressConf(global, domain))); if (domain.php.drupalRules.computed) serverConfig.push(...Object.entries(drupalConf(global))); if (domain.php.magentoRules.computed) serverConfig.push(...Object.entries(magentoConf())); if (domain.php.joomlaRules.computed) serverConfig.push(...Object.entries(joomlaConf())); } // PHP if (domain.php.php.computed) { if (domain.php.phpBackupServer.computed) { config.push([ `upstream ${phpUpstream(domain)}`, { server: [phpPath(domain), `${phpPath(domain, true)} backup`], }, ]); } serverConfig.push(['# handle .php', '']); const loc = `location ~ ${ domain.routing.legacyPhpRouting.computed ? '[^/]\\.php(/|$)' : '\\.php$' }`; const fastcgiPass = { fastcgi_pass: domain.php.phpBackupServer.computed !== '' ? phpUpstream(domain) : phpPath(domain), }; if (global.tools.modularizedStructure.computed || domain.php.wordPressRules.computed) { // Modularized serverConfig.push([ loc, { ...fastcgiPass, include: 'nginxconfig.io/php_fastcgi.conf', }, ]); } else { // Unified serverConfig.push([ loc, { ...fastcgiPass, ...phpConf(domains), }, ]); } } // Add the server config to the parent config now its built config.push(['server', serverConfig]); // CDN! if (domain.server.cdnSubdomain.computed) { // Build the server config on its own before adding it to the parent config const cdnConfig = []; cdnConfig.push(...listenConfig(domain, global, ipPortPairs)); cdnConfig.push(['server_name', `cdn.${domain.server.domain.computed}`]); cdnConfig.push([ 'root', `${domain.server.path.computed}${domain.server.documentRoot.computed}`, ]); // HTTPS cdnConfig.push(...sslConfig(domain, global)); cdnConfig.push(['# disable access_log', '']); cdnConfig.push(['access_log', 'off']); // Gzip if (global.performance.gzipCompression.computed) { cdnConfig.push(['# gzip', '']); cdnConfig.push(['gzip', 'on']); cdnConfig.push(['gzip_vary', 'on']); cdnConfig.push(['gzip_proxied', 'any']); cdnConfig.push(['gzip_comp_level', 6]); cdnConfig.push(['gzip_types', gzipTypes]); } cdnConfig.push(['# allow safe files', '']); cdnConfig.push([ `location ~* \\.(?:${extensions.assets}|${extensions.fonts}|${extensions.svg}|${extensions.images}|${extensions.audio}|${extensions.video}|${extensions.docs})$`, [ ['add_header', 'Access-Control-Allow-Origin "*"'], ['add_header', 'Cache-Control "public"'], ['expires', '30d'], ], ]); cdnConfig.push(['# deny everything else', '']); cdnConfig.push(['location /', { deny: 'all' }]); // Add the CDN config to the parent config now its built config.push(['# CDN', '']); config.push(['server', cdnConfig]); } // Subdomains redirect if (domain.server.redirectSubdomains.computed) { // Build the server config on its own before adding it to the parent config const redirectConfig = []; redirectConfig.push(...listenConfig(domain, global, ipPortPairs)); redirectConfig.push([ 'server_name', `${domain.server.wwwSubdomain.computed ? '' : '*'}.${domain.server.domain.computed}`, ]); // HTTPS redirectConfig.push(...sslConfig(domain, global)); // Logging if (domain.logging.redirectAccessLog.computed || domain.logging.redirectErrorLog.computed) { redirectConfig.push(['# logging', '']); if (domain.logging.redirectAccessLog.computed) { redirectConfig.push(['access_log', getDomainAccessLog(domain, global)]); } if (domain.logging.redirectErrorLog.computed) { redirectConfig.push(['error_log', getDomainErrorLog(domain)]); } } redirectConfig.push([ 'return', `301 http${domain.https.https.computed ? 's' : ''}://${ domain.server.wwwSubdomain.computed ? 'www.' : '' }${domain.server.domain.computed}$request_uri`, ]); // Add the redirect config to the parent config now its built config.push([ `# ${domain.server.wwwSubdomain.computed ? 'non-www, ' : ''}subdomains redirect`, '', ]); config.push(['server', redirectConfig]); } // HTTP redirect if (domain.https.forceHttps.computed) { // Add the redirect config to the parent config now its built config.push(['# HTTP redirect', '']); if (domain.server.wwwSubdomain.computed && !domain.server.redirectSubdomains.computed) { config.push([ 'server', httpRedirectConfig( domain, global, ipPortPairs, domain.server.domain.computed, `www.${domain.server.domain.computed}`, ), ]); config.push([ 'server', httpRedirectConfig( domain, global, ipPortPairs, `www.${domain.server.domain.computed}`, ), ]); } else if ( !domain.server.wwwSubdomain.computed && !domain.server.redirectSubdomains.computed ) { config.push([ 'server', httpRedirectConfig(domain, global, ipPortPairs, domain.server.domain.computed), ]); } if (domain.server.cdnSubdomain.computed) { config.push([ 'server', httpRedirectConfig( domain, global, ipPortPairs, `cdn.${domain.server.domain.computed}`, ), ]); } if (domain.server.redirectSubdomains.computed) { config.push([ 'server', httpRedirectConfig( domain, global, ipPortPairs, `.${domain.server.domain.computed}`, `${domain.server.wwwSubdomain.computed ? 'www.' : ''}${ domain.server.domain.computed }`, ), ]); } } return config; }; ================================================ FILE: src/nginxconfig/generators/conf/wordpress.conf.js ================================================ /* 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 phpPath from '../../util/php_path.js'; import phpUpstream from '../../util/php_upstream.js'; export default (global, domain) => { const config = {}; config['# WordPress: allow TinyMCE'] = ''; config['location = /wp-includes/js/tinymce/wp-tinymce.php'] = { include: 'nginxconfig.io/php_fastcgi.conf', }; config['# WordPress: deny wp-content, wp-includes php files'] = ''; config['location ~* ^/(?:wp-content|wp-includes)/.*\\.php$'] = { deny: 'all', }; config['# WordPress: deny wp-content/uploads nasty stuff'] = ''; config['location ~* ^/wp-content/uploads/.*\\.(?:s?html?|php|js|swf)$'] = { deny: 'all', }; config['# WordPress: SEO plugin'] = ''; config['location ~* ^/wp-content/plugins/wordpress-seo(?:-premium)?/css/main-sitemap\\.xsl$'] = {}; config['# WordPress: deny wp-content/plugins (except earlier rules)'] = ''; config['location ~ ^/wp-content/plugins'] = { deny: 'all', }; config['# WordPress: deny general stuff'] = ''; config[ 'location ~* ^/(?:xmlrpc\\.php|wp-links-opml\\.php|wp-config\\.php|wp-config-sample\\.php|readme\\.html|license\\.txt)$' ] = { deny: 'all', }; if (global.security.limitReq.computed) { config['# WordPress: throttle wp-login.php'] = ''; config['location = /wp-login.php'] = { limit_req: 'zone=login burst=2 nodelay', include: 'nginxconfig.io/php_fastcgi.conf', }; if (domain.php.wordPressRules.computed) { config['location = /wp-login.php'].fastcgi_pass = domain.php.phpBackupServer.computed !== '' ? phpUpstream(domain) : phpPath(domain); } } // Done! return config; }; ================================================ FILE: src/nginxconfig/generators/ext/docker.js ================================================ /* Copyright 2020 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 () => { return 'FROM nginx:latest\nCOPY . /etc/nginx/'; }; ================================================ FILE: src/nginxconfig/generators/index.js ================================================ /* 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 toConf from './to_conf.js'; import toYaml from './to_yaml.js'; import nginxConf from './conf/nginx.conf.js'; import websiteConf from './conf/website.conf.js'; import letsEncryptConf from './conf/letsencrypt.conf.js'; import securityConf from './conf/security.conf.js'; import generalConf from './conf/general.conf.js'; import phpConf from './conf/php_fastcgi.conf.js'; import pythonConf from './conf/python_uwsgi.conf.js'; import proxyConf from './conf/proxy.conf.js'; import wordPressConf from './conf/wordpress.conf.js'; import drupalConf from './conf/drupal.conf.js'; import magentoConf from './conf/magento.conf.js'; import joomlaConf from './conf/joomla.conf.js'; import dockerComposeYaml from './yaml/dockerCompose.yaml.js'; import dockerConf from './ext/docker.js'; import shareQuery from '../util/share_query.js'; export default (domains, global) => { const files = {}; // Base nginx config files['nginx.conf'] = toConf(nginxConf(domains, global)); // Dockerfile if (global.docker.dockerfile.computed) files['Dockerfile'] = dockerConf(); if (global.docker.dockerCompose.computed) files['docker-compose.yaml'] = toYaml(dockerComposeYaml()); // Modularised configs if (global.tools.modularizedStructure.computed) { // Domain config const sitesDir = `sites-${global.tools.symlinkVhost.computed ? 'available' : 'enabled'}`; const ipPortPairs = new Set(); for (const domain of domains) { files[`${sitesDir}/${domain.server.domain.computed}.conf`] = toConf( websiteConf(domain, domains, global, ipPortPairs), ); // WordPress if (domains.some((d) => d.php.wordPressRules.computed)) files[`nginxconfig.io/${domain.server.domain.computed}.wordpress.conf`] = toConf( wordPressConf(global, domain), ); } // Let's encrypt if (domains.some((d) => d.https.certType.computed === 'letsEncrypt')) files['nginxconfig.io/letsencrypt.conf'] = toConf(letsEncryptConf(global)); // Security files['nginxconfig.io/security.conf'] = toConf(securityConf(domains, global)); // General files['nginxconfig.io/general.conf'] = toConf(generalConf(domains, global)); // PHP if (domains.some((d) => d.php.php.computed)) files['nginxconfig.io/php_fastcgi.conf'] = toConf(phpConf(domains)); // Python if (domains.some((d) => d.python.python.computed)) files['nginxconfig.io/python_uwsgi.conf'] = toConf(pythonConf(global)); // Reverse proxy if (domains.some((d) => d.reverseProxy.reverseProxy.computed)) files['nginxconfig.io/proxy.conf'] = toConf(proxyConf(global)); // Drupal if (domains.some((d) => d.php.drupalRules.computed)) files['nginxconfig.io/drupal.conf'] = toConf(drupalConf(global)); // Magento if (domains.some((d) => d.php.magentoRules.computed)) files['nginxconfig.io/magento.conf'] = toConf(magentoConf()); // Joomla if (domains.some((d) => d.php.joomlaRules.computed)) files['nginxconfig.io/joomla.conf'] = toConf(joomlaConf()); } else { // PHP if (domains.some((d) => d.php.wordPressRules.computed)) files['nginxconfig.io/php_fastcgi.conf'] = toConf(phpConf(domains)); } const query = shareQuery( domains.map((domain, index) => [domain, index]).filter((d) => d[0] !== null), global, ); files['nginxconfig.txt'] = `${window.location.protocol}//${window.location.host}${window.location.pathname}${query}`; return files; }; ================================================ FILE: src/nginxconfig/generators/to_conf.js ================================================ /* 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 isObject from '../util/is_object.js'; const isBlock = (item) => { // If an object, or kv entries, this is considered a block return ( isObject(item) || (Array.isArray(item) && item.every((i) => Array.isArray(i) && i.length === 2)) ); }; const longestKey = (items) => { let longest = 0; for (const item of items) { // Only consider up to the first block if (isBlock(item[1])) return longest; // If this is the new longest, and not a comment, use this if (item[0].length > longest && !item[0].startsWith('#')) longest = item[0].length; } // Done! return longest; }; const recurse = (entriesOrObject, depth) => { // Support an object or kv array entries // Convert to entries if given an object const entries = isObject(entriesOrObject) ? Object.entries(entriesOrObject) : entriesOrObject; // If not a valid kv entries array, return if (!Array.isArray(entries) || !entries.every((i) => Array.isArray(i) && i.length === 2)) return ''; // Initial values let retVal = ''; let longestKeyLen = longestKey(entries); const indent = ' '.repeat(depth); // Track whether the previous was a block, for indentation let previousBlock = false; // Loop over every kv pair for (let i = 0; i < entries.length; i++) { const item = entries[i]; // If a block (object or kv entries), recurse if (isBlock(item[1])) { // Recurse retVal += '\n' + indent + item[0] + ' {\n'; retVal += recurse(item[1], depth + 1); retVal += indent + '}\n\n'; // Done previousBlock = true; continue; } // Update key length if we've just left a block if (previousBlock) { longestKeyLen = longestKey(entries.slice(i)); previousBlock = false; } // Otherwise, assume it can be made a string // Ensure we're working with an array const val = Array.isArray(item[1]) ? item[1] : [item[1]]; // Calculate spacing const keyValSpacing = longestKeyLen - item[0].length + 1; const keyValIndent = ' '.repeat(Math.max(keyValSpacing, 0)); // Work through each item in the array val.forEach((subVal) => { const val = subVal.toString(); retVal += indent + (item[0] + keyValIndent + val).trim() + (item[0].startsWith('#') ? '' : ';') + '\n'; }); } return retVal; }; export default (entriesOrObject) => { // Generate the conf let conf = recurse(entriesOrObject, 0); // Do some regex cleanup conf = conf // Cleanup triple linebreaks .replace(/\n\n\n/g, '\n\n') // Double linebreak before comment .replace(/^([^\S\r\n]*[^#\s].*[^\n])\n([^\S\r\n]*)#/gm, '$1\n\n$2#') // Single linebreak between comment and block .replace(/^([^\S\r\n]*#.*)(?:\n[^\S\r\n]*)+\n([^\S\r\n]*.*{)/gm, '$1\n$2') // Double linebreak after double comment .replace(/^([^\S\r\n]*#.*\n[^\S\r\n]*#.*\n)([^\S\r\n]*[^#\s])/gm, '$1\n$2') // No newline for empty blocks .replace(/^([^\S\r\n]*.*{)\n[^\S\r\n]*(})/gm, '$1$2'); // Cleanup extra linebreaks between multiple close blocks // Use a loop as this has overlapping matches let match; do { match = /^([^\S\r\n]*})(?:\n[^\S\r\n]*)+\n([^\S\r\n]*})/m.exec(conf); if (match) conf = conf.slice(0, match.index) + match[1] + '\n' + match[2] + conf.slice(match.index + match[0].length); } while (match); // Remove initial & trailing whitespace return conf.trim(); }; ================================================ FILE: src/nginxconfig/generators/to_yaml.js ================================================ /* Copyright 2022 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 yaml from 'json-to-pretty-yaml'; export default (yamlConf) => { return yaml.stringify(yamlConf); }; ================================================ FILE: src/nginxconfig/generators/yaml/dockerCompose.yaml.js ================================================ /* Copyright 2020 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 () => { return { version: '3.3', services: { nginx: { build: { context: '.', dockerfile: 'Dockerfile', }, }, }, }; }; ================================================ FILE: src/nginxconfig/i18n/de/common.js ================================================ /* Copyright 2021 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: 'Zurück', next: 'Weiter', enable: 'Aktiviere', 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: 'Logging', reverseProxy: 'Reverse Proxy', reverseProxyLower: 'reverse proxy', restrict: 'Beschränkungen', path: 'Pfad', }; ================================================ FILE: src/nginxconfig/i18n/de/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/de/languages.js ================================================ /* 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: 'Englisch', es: 'Spanisch', zhCN: 'Chinesisch (vereinfacht)', zhTW: 'Chinesisch (traditionell)', ptBR: 'Portugiesisch (Brasilien)', fr: 'Französisch', ru: 'Russisch', pl: 'Polnisch', de: 'Deutsch', ja: 'Japanisch', fa: 'Persisch', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}Config`, description: `Der einfachste Weg, einen performanten, sicheren und stabilen ${common.nginx} Server zu konfigurieren.`, singleColumnMode: 'Einspaltiger Modus', splitColumnMode: 'Mehrspaltiger Modus', perWebsiteConfig: 'Webseiten-Konfiguration', addSite: 'Webseite hinzufügen', globalConfig: 'Globale Konfiguration', setup: 'Setup', configFiles: 'Konfigurationsdateien', copied: 'kopiert', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/callouts/contribute.js ================================================ /* Copyright 2021 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: '👋 Willst du neue Features vorschlagen, Änderungen beitragen oder das Tool in eine andere Sprache übersetzen?', getInvolvedOnGitHub: 'Beteilige dich auf GitHub', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/callouts/droplet.js ================================================ /* Copyright 2021 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: '👋 Suchst du nach einem Ort, deine neue Konfiguration zu deployen?', tryOutDigitalOceansDroplet: "Teste DigitalOcean's LEMP Droplet mit NGINX", }; ================================================ FILE: src/nginxconfig/i18n/de/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/https.js ================================================ /* 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.js'; export default { enableEncryptedSslConnection: `${common.enable} verschlüsselte ${common.ssl} Verbindungen`, http2: `${common.http}/2`, enableHttp2Connections: `${common.enable} ${common.http}/2 Verbindungen`, http3: `${common.http}/3`, enableHttp3Connections: `${common.enable} ${common.http}/3 Verbindungen`, forceHttps: `Erzwinge ${common.https}`, hsts: 'HSTS', enableStrictTransportSecurity: `${common.enable} Strict Transport Security, was HTTPS Verbindungen erzwingt`, enableIncludeSubDomains: `${common.enable} includeSubDomains Direktive, welche HTTPS Verbindungen auf ALLEN Subdomains erzwingt`, enablePreload: `${common.enable} preload Direktive, welche Browsern mitteilt, ausschließlich HTTPS Verbindungen zu verwenden`, certificationType: 'Zertifizierungsart', customCertificate: 'Eigenes Zertifikat', letsEncryptEmail: `${common.letsEncrypt} E-Mail`, http3IsANonStandardModule: 'HTTP/3 ist kein Standard NGINX Modul. Besuche das ', http3NginxQuicReadme: 'NGINX QUIC Readme', http3OrThe: ' oder das ', http3CloudflareQuicheProject: 'Cloudflare Quiche Project', http3ForBuildingNginxWithHttp3: ' für Informationen, wie man NGINX mit HTTP/3 verwendet!', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import onion from './onion.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import restrict from './restrict.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/logging.js ================================================ /* Copyright 2022 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 { byDomain: 'der Domain', enableForThisDomain: 'Für diese Domain aktivieren', arguments: 'arguments', // TODO: translate level: 'logging level', // TODO: translate forRedirects: 'for redirects', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/onion.js ================================================ /* Copyright 2021 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} Location`, provideAnOnionLocationToSetOnionLocationHeader: 'Gib eine Onion Adresse an, um den Onion-Location Header für deine Seite zu setzen.', letsVisitorsKnownOnionServicesIsAvailable: 'Dies teilt deinen Besuchern mit, dass eine Onion-Version deiner Webseite für Tor-Browser verfügbar ist.', learnMoreAboutOnionServices: 'Lerne mehr über Onion-Dienste', onionLocationExpectedToEndWithOnion: 'Onion Adressen enden normalerweise mit `.onion`.', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `${common.php} ist deaktiviert.`, phpCannotBeEnabledWithReverseProxy: `${common.php} kann nicht aktiviert werden, während ein Reverse Proxy aktiviert ist.`, phpCannotBeEnabledWithPython: `${common.php} kann nicht aktiviert werden, während ${common.python} aktiviert ist.`, enablePhp: `${common.enable} ${common.php}`, wordPressRules: `${common.wordPress} Regeln`, enableWordPressRules: `${common.enable} ${common.wordPress}-spezifische Regeln`, drupalRules: `${common.drupal} Regeln`, enableDrupalRules: `${common.enable} ${common.drupal}-spezifische Regeln`, magentoRules: `${common.magento} Regeln`, enableMagentoRules: `${common.enable} ${common.magento}-spezifische Regeln`, joomlaRules: `${common.joomla} Regeln`, enableJoomlaRules: `${common.enable} ${common.joomla}-spezifische Regeln`, phpServer: `${common.php} Server`, phpBackupServer: `${common.php} Backup Server`, tcp: 'TCP', hhvmSocket: 'HHVM Socket', php70Socket: '7.0 Socket', php71Socket: '7.1 Socket', php72Socket: '7.2 Socket', php73Socket: '7.3 Socket', php74Socket: '7.4 Socket', php80Socket: '8.0 Socket', php81Socket: '8.1 Socket', php82Socket: '8.2 Socket', phpSocket: 'PHP Socket', custom: 'Benutzerdefiniert', disabled: 'Deaktiviert', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/presets.js ================================================ /* Copyright 2021 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: 'Voreinstellungen', itLooksLikeYouCustomisedTheConfig: 'Es sieht so aus, als hättest du die Konfiguration für diese Webseite angepasst. Eine neue Voreinstellung zu laden könnte manche deiner Anpassungen zurücksetzen oder ändern.', frontend: 'Frontend', nodeJs: 'Node.js', singlePageApplication: 'Single-Page-Webanwendung', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `${common.python} ist deaktiviert.`, pythonCannotBeEnabledWithReverseProxy: `${common.python} kann nicht aktiviert werden, während ein Reverse Proxy aktiviert ist.`, pythonCannotBeEnabledWithPhp: `${common.python} kann nicht aktiviert werden, während ${common.php} aktiviert ist.`, enablePython: `${common.enable} ${common.python}`, djangoRules: `${common.django} Regeln`, enableDjangoRules: `${common.enable} ${common.django}-spezifische Regeln`, }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/restrict.js ================================================ /* Copyright 2021 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: 'Für diese Domain deaktivieren', responseCode: 'HTTP Antwort-Code', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} ist deaktiviert.`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} kann nicht aktiviert werden, während ${common.php} aktiviert ist.`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} kann nicht aktiviert werden, während ${common.python} aktiviert ist.`, enableReverseProxy: `${common.enable} ${common.reverseProxy}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'Fallback Routing', fallbackRoutingPhpPath: `Fallback Routing ${common.php} Pfad`, legacyPhpRouting: `Legacy ${common.php} Routing`, enableLegacyRouting: `${common.enable} Legacy Routing`, routing: 'Routing', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/domain_sections/server.js ================================================ /* Copyright 2021 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: 'Domain', documentRoot: 'Document Root', oneOrMoreOtherDomainsAreAlsoNamed: 'Eine oder mehrere Domains lauten ebenfalls', thisWillCauseIssuesWithConfigGeneration: 'Dies sorgt für Probleme beim Generieren der Konfigurationsdateien.', wwwSubdomain: 'WWW Subdomain', cdnSubdomain: 'CDN Subdomain', redirectSubdomains: 'Subdomains weiterleiten', server: 'Server', listen: 'Hören auf', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/footer.js ================================================ /* Copyright 2021 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: 'Zurück nach oben', thisToolIs: 'Dieses Tool ist', openSourceOnGitHub: 'Open-Source auf GitHub', underThe: 'unter der', mit: 'MIT', license: 'Lizenz!', weWelcomeFeedbackAndContributions: 'Feedback und Beiträge sind willkommen.', originallyCreatedBy: 'Ursprünglich erstellt von', balintSzekeres: 'Bálint Szekeres', maintainedBy: 'gepflegt von', digitalOcean: 'DigitalOcean', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, applyDockerTweaks: `${docker} Optimierungen anwenden`, applyDockerTweaksForNginx: `Füge Optimierungen für den Betrieb von ${common.nginx} mit ${docker} der Konfigurationsdatei hinzu`, applyDockerTweaksExplainer: `Setzt den ${common.nginx} Benutzer auf nginx und die PID auf /var/run/nginx.pid`, includeDockerfile: `${dockerfile} hinzufügen, um ${common.nginx} mit ${docker} zu betreiben`, includeDockerCompose: `docker-compose.yaml hinzufügen, um ${common.nginx} mit docker-compose zu betreiben`, }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `${common.ssl} Profil`, httpsMustBeEnabledOnOneSite: `${common.https} muss auf mindestes einer Webseite aktiviert sein, um globale ${common.https} Einstellungen zu konfigurieren.`, portReuse: 'Reuseport', enableReuseOfPort: `${common.enable} Reuseport um einen Socket pro Worker zu generieren`, ocspDnsResolvers: 'OCSP DNS Resolver', cloudflareResolver: 'Cloudflare Resolver', googlePublicDns: 'Google Public DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `${common.letsEncrypt} Web-Root`, letsEncryptCertRoot: `${common.letsEncrypt} Zertifikats-Verzeichnis`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, ipv4Only: `nur ${ipv4}`, ipv6Only: `nur ${ipv6}`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} "Seite nicht gefunden" Error Logging in`, logformat: 'log_format', level: 'logging level', // TODO: translate enableCloudflare: 'Füge Cloudflare Anfrage-Header dem Standard Log-Format hinzu', 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', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `${common.nginx} Konfigurationsverzeichnis`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate enableDisableHtmlCaching: 'disable HTML caching', // TODO: translate gzipCompression: 'Gzip Komprimierung', enableGzipCompression: `${common.enable} Gzip Komprimierung`, brotliCompression: 'Brotli Komprimierung', enableBrotliCompression: `${common.enable} Brotli Komprimierung`, brotliIsANonStandardModule: 'Brotli ist kein Standard NGINX Modul. Besuche das ', brotliGoogleNgxBrotliProject: 'Google ngx_brotli Projekt', brotliForBuildingNginxWithBrotli: ' für Informationen, wie man NGINX mit Brotli verwendet!', expirationForAssets: 'Ablauf von Assets', expirationForMedia: 'Ablauf von Medien', expirationForSvgs: 'Ablauf von SVGs', expirationForFonts: 'Ablauf von Schriften', performance: 'Performance', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `${common.python} Server`, pythonMustBeEnabledOnOneSite: `${common.python} muss auf mindestes einer Webseite aktiviert sein, um globale ${common.python} Einstellungen zu konfigurieren.`, }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'Legacy X-Forwarded-* Header'; export default { reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} muss auf mindestes einer Webseite aktiviert sein, um globale ${common.reverseProxy} Einstellungen zu konfigurieren.`, seconds: 'Sekunden', passOn: `${legacyXForwarded} weiterleiten`, remove: `${legacyXForwarded} aktiv entfernen`, }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Bei der Verwendung von ${common.wordPress} ist es oft nötig, script-src 'self' 'unsafe-inline' 'unsafe-eval'; in die Content Security Policy aufzunehmen, damit der Admin-Bereich korrekt funktioniert.`, security: 'Security', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: 'Modularisierte Struktur', enableModularizedConfigFiles: `${common.enable} modularisierte Konfigurationsdateien`, symlinkVhost: 'Symlink VHost', enableSymLinksFrom: `${common.enable} Symlinks von`, to: 'zu', shareConfiguration: 'Konfiguration teilen', resetConfiguration: 'Konfiguration zurücksetzen', resetGlobalConfig: 'Globale Konfiguration zurücksetzen', resetAllDomains: 'Alle Domains zurücksetzen', removeAllDomains: 'Alle Domains entfernen', resetAllDomainsConfig: 'Alle Domain-Konfigurationen entfernen', resetDomainConfig: 'Konfiguration zurücksetzen', removeDomain: 'Domain entfernen', yesImSure: 'Ja, ich bin sicher', noCancel: 'Nein, abbrechen', tools: 'Tools', resetGlobalConfigBody: 'Bist du dir sicher, dass du alle Optionen im Bereich "Globale Konfiguration" zurücksetzen möchtest?', resetAllDomainsConfigBody: 'Bist du dir sicher, dass du die Konfiguration ALLER Domains zurücksetzen möchtest?', removeAllDomainsBody: 'Bist du dir sicher, dass du ALLE Domains entfernen möchtest?', areYouSureYouWantToResetAllConfigurationOptionsForThe: 'Bist du dir sicher, dass du die Konfiguration von', domain: 'zurücksetzen möchtest?', areYouSureYouWantToRemoveThe: 'Bist du dir sicher, dass du die Domain ', domainConfiguration: 'entfernen möchtest?', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/de/templates/setup.js ================================================ /* Copyright 2021 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: 'Konfiguration herunterladen', copyBase64: 'Als Base64 kopieren', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `Kommentiere ${common.ssl}-relevante Direktiven in deiner Konfiguration aus:`, sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, // TODO: translate reloadYourNginxServer: `Führe einen reload deines ${common.nginx} Server aus:`, obtainSslCertificatesFromLetsEncrypt: `Erhalte ${common.ssl} Zertifikate von ${common.letsEncrypt} mittels ${certbot}:`, uncommentSslDirectivesInConfiguration: `Kommentiere ${common.ssl}-relevante Direktiven in deiner Konfiguration ein:`, configureCertbotToReloadNginxOnCertificateRenewal: `Konfiguriere ${certbot} um ${common.nginx} neu zu laden, wenn die Zertifikate erfolgreich erneuert wurden:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} muss für deine ${common.nginx} Konfiguration nicht eingerichtet werden.`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/de/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: 'Generierte Konfigurationsdateien herunterladen:', andUploadItToYourServers: 'Auf deinen Server hochladen und ins Verzeichnis ', directory: 'verschieben.', or: 'Oder ', copyBase64StringOfCompressedConfig: 'kopiere einen Base64 String der komprimierten Konfiguration', pasteItInYourServersCommandLineAndExecute: ', füge ihn auf der Kommandozeile deines Servers ein und führe ihn aus.', navigateToYourNginxConfigurationDirectoryOnYourServer: `Wechsle in das ${common.nginx} Konfigurationsverzeichnis deines Servers:`, createABackupOfYourCurrentNginxConfiguration: `Erstelle ein Backup deiner aktuellen ${common.nginx} Konfiguration:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'Entpacke das komprimierte Konfigurationsverzeichnis mittels tar:', download: 'Download', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: 'Jetzt gehts los!', reloadNginxToLoadInYourNewConfiguration: `Lade ${common.nginx} neu, um deine neue Konfiguration zu verwenden:`, goLive: 'Los gehts!', }; ================================================ FILE: src/nginxconfig/i18n/de/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/de/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Erzeuge Diffie-Hellman Schlüssel indem du diesen Befehl auf deinem Server ausführst:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `Erstelle ein ACME-Challenge Verzeichnis (für ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `Es sind keine weiteren Schritte nötig, um ${common.ssl} für deine ${common.nginx} Konfiguration einzurichten.`, sslInit: `${common.ssl} initialisieren`, }; ================================================ FILE: src/nginxconfig/i18n/en/common.js ================================================ /* Copyright 2020 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: 'Back', next: 'Next', enable: '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: 'Logging', reverseProxy: 'Reverse proxy', reverseProxyLower: 'reverse proxy', restrict: 'Restrict', path: 'Path', }; ================================================ FILE: src/nginxconfig/i18n/en/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/en/languages.js ================================================ /* 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: 'English', es: 'Spanish', zhCN: 'Chinese (simplified)', zhTW: 'Chinese (traditional)', ptBR: 'Portuguese (brazilian)', fr: 'French', ru: 'Russian', pl: 'Polish', de: 'German', ja: 'Japanese', fa: 'Persian', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}Config`, description: `The easiest way to configure a performant, secure, and stable ${common.nginx} server.`, singleColumnMode: 'Single column mode', splitColumnMode: 'Side-by-side mode', perWebsiteConfig: 'Per-website config', addSite: 'Add site', globalConfig: 'Global config', setup: 'Setup', configFiles: 'Config files', copied: 'Copied', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/callouts/contribute.js ================================================ /* Copyright 2021 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: '👋 Want to request new features, contribute changes, or translate the tool into a new language?', getInvolvedOnGitHub: 'Get involved on GitHub', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/callouts/droplet.js ================================================ /* Copyright 2021 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: '👋 Looking for a place to deploy your new configuration?', tryOutDigitalOceansDroplet: "Try out DigitalOcean's LEMP Droplet with NGINX", }; ================================================ FILE: src/nginxconfig/i18n/en/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/https.js ================================================ /* 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.js'; export default { enableEncryptedSslConnection: `${common.enable} encrypted ${common.ssl} connections`, http2: `${common.http}/2`, enableHttp2Connections: `${common.enable} ${common.http}/2 connections`, http3: `${common.http}/3`, enableHttp3Connections: `${common.enable} ${common.http}/3 connections`, forceHttps: `Force ${common.https}`, hsts: 'HSTS', enableStrictTransportSecurity: `${common.enable} Strict Transport Security, requiring HTTPS connections`, enableIncludeSubDomains: `${common.enable} includeSubDomains directive, requiring HTTPS connections for ALL subdomains`, enablePreload: `${common.enable} preload directive, telling browsers to always make HTTPS connections only`, certificationType: 'Certification type', customCertificate: 'Custom certificate', letsEncryptEmail: `${common.letsEncrypt} email`, http3IsANonStandardModule: "HTTP/3 isn't a standard NGINX module, check the ", http3NginxQuicReadme: 'NGINX QUIC readme', http3OrThe: ' or the ', http3CloudflareQuicheProject: 'Cloudflare quiche project', http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: 'by domain', enableForThisDomain: `${common.enable} for this domain`, arguments: 'arguments', level: 'logging level', forRedirects: 'for redirects', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/onion.js ================================================ /* Copyright 2020 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} location`, provideAnOnionLocationToSetOnionLocationHeader: 'Provide an onion location address to set the Onion-Location header for your site.', letsVisitorsKnownOnionServicesIsAvailable: 'This lets visitors know that an onion services version of your site is available for Tor browsers.', learnMoreAboutOnionServices: 'Learn more about Onion services', onionLocationExpectedToEndWithOnion: 'Onion location addresses normally end with `.onion`.', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `${common.php} is disabled.`, phpCannotBeEnabledWithReverseProxy: `${common.php} cannot be enabled whilst the reverse proxy is enabled.`, phpCannotBeEnabledWithPython: `${common.php} cannot be enabled whilst ${common.python} is enabled.`, enablePhp: `${common.enable} ${common.php}`, wordPressRules: `${common.wordPress} rules`, enableWordPressRules: `${common.enable} ${common.wordPress}-specific rules`, drupalRules: `${common.drupal} rules`, enableDrupalRules: `${common.enable} ${common.drupal}-specific rules`, magentoRules: `${common.magento} rules`, enableMagentoRules: `${common.enable} ${common.magento}-specific rules`, joomlaRules: `${common.joomla} rules`, enableJoomlaRules: `${common.enable} ${common.joomla}-specific rules`, phpServer: `${common.php} server`, phpBackupServer: `${common.php} backup server`, tcp: 'TCP', hhvmSocket: 'HHVM socket', php70Socket: '7.0 socket', php71Socket: '7.1 socket', php72Socket: '7.2 socket', php73Socket: '7.3 socket', php74Socket: '7.4 socket', php80Socket: '8.0 socket', php81Socket: '8.1 socket', php82Socket: '8.2 socket', phpSocket: 'PHP socket', custom: 'Custom', disabled: 'Disabled', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/presets.js ================================================ /* Copyright 2020 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: 'Presets', itLooksLikeYouCustomisedTheConfig: "It looks like you've customised the configuration for this domain. Choosing a new preset may reset or change some of the settings that you've customised.", frontend: 'Frontend', nodeJs: 'Node.js', singlePageApplication: 'Single-page application', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `${common.python} is disabled.`, pythonCannotBeEnabledWithReverseProxy: `${common.python} cannot be enabled whilst the reverse proxy is enabled.`, pythonCannotBeEnabledWithPhp: `${common.python} cannot be enabled whilst ${common.php} is enabled.`, enablePython: `${common.enable} ${common.python}`, djangoRules: `${common.django} rules`, enableDjangoRules: `${common.enable} ${common.django}-specific rules`, }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/restrict.js ================================================ /* Copyright 2020 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: 'disable for this domain', responseCode: 'Response code', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} is disabled.`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} cannot be enabled whilst ${common.php} is enabled.`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} cannot be enabled whilst ${common.python} is enabled.`, enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, proxyHostHeader: 'Proxy Host header', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'Fallback routing', fallbackRoutingPhpPath: `Fallback routing ${common.php} path`, legacyPhpRouting: `Legacy ${common.php} routing`, enableLegacyRouting: `${common.enable} legacy routing`, routing: 'Routing', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/domain_sections/server.js ================================================ /* Copyright 2020 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: 'Domain', documentRoot: 'Document root', oneOrMoreOtherDomainsAreAlsoNamed: 'One or more other domains are also named', thisWillCauseIssuesWithConfigGeneration: 'This will cause issues with config generation.', wwwSubdomain: 'www subdomain', cdnSubdomain: 'CDN subdomain', redirectSubdomains: 'Redirect subdomains', server: 'Server', listen: 'listen', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/footer.js ================================================ /* Copyright 2020 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: 'Back To Top', thisToolIs: 'This tool is', openSourceOnGitHub: 'open-source on GitHub', underThe: 'under the', mit: 'MIT', license: 'license!', weWelcomeFeedbackAndContributions: 'We welcome feedback and contributions.', originallyCreatedBy: 'Originally created by', balintSzekeres: 'Bálint Szekeres', maintainedBy: 'maintained by', digitalOcean: 'DigitalOcean', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, applyDockerTweaks: `Apply ${docker} tweaks`, applyDockerTweaksForNginx: `Apply configuration tweaks for running ${common.nginx} with ${docker}`, applyDockerTweaksExplainer: `Updates the ${common.nginx} user to be nginx and the pid to /var/run/nginx.pid`, includeDockerfile: `Include ${dockerfile} to run ${common.nginx} with ${docker}`, includeDockerCompose: `Include docker-compose to run ${common.nginx} with docker-compose`, }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `${common.ssl} Profile`, httpsMustBeEnabledOnOneSite: `${common.https} must be enabled on at least one site to configure global ${common.https} settings.`, portReuse: 'Reuseport', enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, ocspDnsResolvers: 'OCSP DNS Resolvers', cloudflareResolver: 'Cloudflare Resolver', googlePublicDns: 'Google Public DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `${common.letsEncrypt} webroot`, letsEncryptCertRoot: `${common.letsEncrypt} certificate directory`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, ipv4Only: `${ipv4} only`, ipv6Only: `${ipv6} only`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} file not found error logging in`, logformat: 'log_format', level: 'logging level', enableCloudflare: 'add Cloudflare request headers to the default log format', 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', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `${common.nginx} config directory`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'Disable HTML caching', enableDisableHtmlCaching: 'disable HTML caching', gzipCompression: 'Gzip compression', enableGzipCompression: `${common.enable} gzip compression`, brotliCompression: 'Brotli compression', enableBrotliCompression: `${common.enable} brotli compression`, brotliIsANonStandardModule: "Brotli isn't a standard NGINX module, check the ", brotliGoogleNgxBrotliProject: 'Google ngx_brotli project', brotliForBuildingNginxWithBrotli: ' for how to build NGINX with Brotli!', expirationForAssets: 'Expiration for assets', expirationForMedia: 'Expiration for media', expirationForSvgs: 'Expiration for SVGs', expirationForFonts: 'Expiration for fonts', performance: 'Performance', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `${common.python} server`, pythonMustBeEnabledOnOneSite: `${common.python} must be enabled on at least one site to configure global ${common.python} settings.`, }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; export default { reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} must be enabled on at least one site to configure global ${common.reverseProxyLower} settings.`, seconds: 'seconds', passOn: `${legacyXForwarded} passed on`, remove: `${legacyXForwarded} actively removed`, }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `When using ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; is often required in the Content Security Policy to allow the admin panel to function correctly.`, security: 'Security', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: 'Modularized structure', enableModularizedConfigFiles: `${common.enable} modularized config files`, symlinkVhost: 'Symlink vhost', enableSymLinksFrom: `${common.enable} symlinks from`, to: 'to', shareConfiguration: 'Share configuration', resetConfiguration: 'Reset configuration', resetGlobalConfig: 'Reset global config', resetAllDomains: 'Reset all domains', removeAllDomains: 'Remove all domains', resetAllDomainsConfig: 'Reset all domain configs', resetDomainConfig: 'Reset domain config', removeDomain: 'Remove domain', yesImSure: "Yes, I'm sure", noCancel: 'No, cancel', tools: 'Tools', resetGlobalConfigBody: 'Are you sure you want to reset all configuration options in the global config section?', resetAllDomainsConfigBody: 'Are you sure you want to reset the configuration of ALL domains?', removeAllDomainsBody: 'Are you sure you want to remove ALL domain configurations?', areYouSureYouWantToResetAllConfigurationOptionsForThe: 'Are you sure you want to reset all configuration options for the', domain: 'domain?', areYouSureYouWantToRemoveThe: 'Are you sure you want to remove the ', domainConfiguration: 'domain configuration?', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/en/templates/setup.js ================================================ /* Copyright 2020 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: 'Download Config', copyBase64: 'Copy Base64', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `Comment out ${common.ssl} related directives in the configuration:`, sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, reloadYourNginxServer: `Reload your ${common.nginx} server:`, obtainSslCertificatesFromLetsEncrypt: `Obtain ${common.ssl} certificates from ${common.letsEncrypt} using ${certbot}:`, uncommentSslDirectivesInConfiguration: `Uncomment ${common.ssl} related directives in the configuration:`, configureCertbotToReloadNginxOnCertificateRenewal: `Configure ${certbot} to reload ${common.nginx} when it successfully renews certificates:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} does not need to be set up for your ${common.nginx} configuration.`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/en/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: 'Download the generated config:', andUploadItToYourServers: "and upload it to your server's", directory: 'directory.', or: 'or, ', copyBase64StringOfCompressedConfig: 'Copy a base64 string of the compressed config', pasteItInYourServersCommandLineAndExecute: ", paste it in your server's command line and execute it.", navigateToYourNginxConfigurationDirectoryOnYourServer: `Navigate to your ${common.nginx} configuration directory on your server:`, createABackupOfYourCurrentNginxConfiguration: `Create a backup of your current ${common.nginx} configuration:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'Extract the new compressed configuration archive using tar:', download: 'Download', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: "Let's go live!", reloadNginxToLoadInYourNewConfiguration: `Reload ${common.nginx} to load in your new configuration:`, goLive: 'Go live!', }; ================================================ FILE: src/nginxconfig/i18n/en/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/en/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Generate Diffie-Hellman keys by running this command on your server:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `Create a common ACME-challenge directory (for ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `No additional steps are needed to set up ${common.ssl} for your ${common.nginx} configuration.`, sslInit: `${common.ssl} init`, }; ================================================ FILE: src/nginxconfig/i18n/es/common.js ================================================ /* Copyright 2021 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: 'Anterior', next: 'Siguiente', enable: 'activar', 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: 'Registro', reverseProxy: 'Proxy inverso', reverseProxyLower: 'proxy inverso', restrict: 'Restringir', path: 'Ruta', }; ================================================ FILE: src/nginxconfig/i18n/es/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/es/languages.js ================================================ /* 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: 'Ingles', es: 'Español', zhCN: 'Chino (simplificado)', zhTW: 'Chino (tradicional)', ptBR: 'Portugués (brasileño)', fr: 'Francés', ru: 'Ruso', pl: 'Polaco', de: 'Alemán', ja: 'Japonés', fa: 'Persa', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}Config`, description: `La forma más fácil de configurar un rendidor, seguro y estable servidor de ${common.nginx}.`, singleColumnMode: 'Modo de columna única', splitColumnMode: 'Modo de columna dividida', perWebsiteConfig: 'Configuración por sitio web', addSite: 'Agregar sitio', globalConfig: 'Configuración global', setup: 'Configuración', configFiles: 'Archivos de configuración', copied: 'Copiado', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/callouts/contribute.js ================================================ /* Copyright 2021 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: '👋 ¿Quiere solicitar nuevas funciones, contribuir con cambios o traducir la herramienta a un nuevo idioma?', getInvolvedOnGitHub: 'Involúcrate en GitHub', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/callouts/droplet.js ================================================ /* Copyright 2021 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: '👋 ¿Busca un lugar para desplegar su nueva configuración?', tryOutDigitalOceansDroplet: 'Pruebe LEMP Droplet de DigitalOcean con NGINX', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/https.js ================================================ /* 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.js'; export default { enableEncryptedSslConnection: `${common.enable} conexiones ${common.ssl} encriptadas`, http2: `${common.http}/2`, enableHttp2Connections: `${common.enable} conexiones ${common.http}/2`, http3: `${common.http}/3`, enableHttp3Connections: `${common.enable} conexiones ${common.http}/3`, forceHttps: `Forzar ${common.https}`, hsts: 'HSTS', enableStrictTransportSecurity: `Para ${common.enable} Strict Transport Security, requiriendo conexiones HTTPS`, enableIncludeSubDomains: `Para ${common.enable} la directiva includeSubDomains, requiriendo conexiones HTTPS para TODOS los subdominios`, enablePreload: `Para ${common.enable} la directiva directive, decirle a los navegadores que siempre hagan solo conexiones HTTPS`, certificationType: 'Tipo de certificado', customCertificate: 'Certificado personalizado', letsEncryptEmail: `Correo para ${common.letsEncrypt}`, http3IsANonStandardModule: 'HTTP/3 no es un modulo estandar de NGINX , verificar el ', http3NginxQuicReadme: 'Readme de NGINX QUIC', http3OrThe: ' o el ', http3CloudflareQuicheProject: 'Projecto quiche de Cloudflare', http3ForBuildingNginxWithHttp3: ' para saber como construir un NGINX con HTTP/3!', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: 'por dominio', enableForThisDomain: `${common.enable} para este dominio`, arguments: 'arguments', // TODO: translate level: 'logging level', // TODO: translate forRedirects: 'for redirects', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/onion.js ================================================ /* Copyright 2021 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: `Ubicación ${onion}`, provideAnOnionLocationToSetOnionLocationHeader: 'Proporcione una dirección de ubicación Onion para configurar el encabezado de Onion-Location en su sitio.', letsVisitorsKnownOnionServicesIsAvailable: 'Esto les permite a los visitantes saber que una versión de servicios Onion de su sitio está disponible para los navegadores Tor.', learnMoreAboutOnionServices: 'Más información sobre los servicios Onion', onionLocationExpectedToEndWithOnion: 'Las direcciones de ubicación Onion normalmente terminan con `.onion`.', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `${common.php} esta desactivado.`, phpCannotBeEnabledWithReverseProxy: `${common.php} no se puede habilitar mientras el proxy inverso está habilitado.`, phpCannotBeEnabledWithPython: `${common.php} no se puede habilitar mientras ${common.python} está habilitado.`, enablePhp: `${common.enable} ${common.php}`, wordPressRules: `Reglas de ${common.wordPress}`, enableWordPressRules: `${common.enable} reglas especificas de ${common.wordPress}`, drupalRules: `Reglas de ${common.drupal}`, enableDrupalRules: `${common.enable} reglas especificas de ${common.drupal}`, magentoRules: `Reglas de ${common.magento}`, enableMagentoRules: `${common.enable} reglas especificas de ${common.magento}`, joomlaRules: `Reglas de ${common.joomla}`, enableJoomlaRules: `${common.enable} reglas especificas de ${common.joomla}`, phpServer: `Servidor ${common.php}`, phpBackupServer: `Servidor ${common.php} de respaldo`, tcp: 'TCP', hhvmSocket: 'HHVM socket', php70Socket: '7.0 socket', php71Socket: '7.1 socket', php72Socket: '7.2 socket', php73Socket: '7.3 socket', php74Socket: '7.4 socket', php80Socket: '8.0 socket', php81Socket: '8.1 socket', php82Socket: '8.2 socket', phpSocket: 'PHP socket', custom: 'Personalizado', disabled: 'Desactivado', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/presets.js ================================================ /* Copyright 2021 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. */ // Single-page application don't have a good translation in Spanish export default { presets: 'Preajustes', itLooksLikeYouCustomisedTheConfig: 'Parece que ha personalizado la configuración para este dominio. La elección de un nuevo ajuste preestablecido puede restablecer o cambiar algunas de las configuraciones que ha personalizado.', frontend: 'Frontend', nodeJs: 'Node.js', singlePageApplication: 'Single-page application', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `${common.python} esta desactivado.`, pythonCannotBeEnabledWithReverseProxy: `${common.python} no se puede habilitar mientras el proxy inverso está habilitado.`, pythonCannotBeEnabledWithPhp: `${common.python} no se puede habilitar mientras ${common.php} está habilitado.`, enablePython: `${common.enable} ${common.python}`, djangoRules: `Reglas de ${common.django}`, enableDjangoRules: `${common.enable} reglas especificas de ${common.django}`, }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/restrict.js ================================================ /* Copyright 2021 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: 'deshabilitar para este dominio', responseCode: 'Codigo de respuesta', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} esta desactivado.`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} no se puede habilitar mientras ${common.php} está habilitado.`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} no se puede habilitar mientras ${common.python} está habilitado.`, enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'Enrutamiento alternativo', fallbackRoutingPhpPath: `Ruta ${common.php} para el enrutamiento alternativo`, legacyPhpRouting: `Enrutamiento ${common.php} antiguo`, enableLegacyRouting: `${common.enable} enrutamiento antiguo`, routing: 'Enrutamiento', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/domain_sections/server.js ================================================ /* Copyright 2021 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. */ // The traslation of "listen" is "escucha" but in informatic that terms is best in English export default { domain: 'Dominio', documentRoot: 'Raiz del documento', oneOrMoreOtherDomainsAreAlsoNamed: 'Uno o más dominios tienen también ese mismo nombre', thisWillCauseIssuesWithConfigGeneration: 'Esto va a causar problemas en la generación de la configuracion.', wwwSubdomain: 'subdominio www', cdnSubdomain: 'subdominio CDN', redirectSubdomains: 'redirección de subdominio', server: 'Servidor', listen: 'listen', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/footer.js ================================================ /* Copyright 2021 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: 'Ir al inicio', thisToolIs: 'Esta herramienta es', openSourceOnGitHub: 'open-source en GitHub', underThe: 'bajo la', mit: 'licencia MIT', license: '!', weWelcomeFeedbackAndContributions: 'Agradecemos sus comentarios y contribuciones.', originallyCreatedBy: 'Originalmente creado por', balintSzekeres: 'Bálint Szekeres', maintainedBy: 'mantenido por', digitalOcean: 'DigitalOcean', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, applyDockerTweaks: `Aplicar ajustes de ${docker}`, applyDockerTweaksForNginx: `Aplicar ajuste de configuracion para ejecutar ${common.nginx} con ${docker}`, applyDockerTweaksExplainer: `Actualizar el usuario de ${common.nginx} a nginx y el pid a /var/run/nginx.pid`, includeDockerfile: `Incluir ${dockerfile} para ejecutar ${common.nginx} con ${docker}`, includeDockerCompose: `Incluir docker-compose para ejecutar ${common.nginx} con docker-compose`, }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; // 'Resolvers', 'webroot', 'listening socket' and 'worker' don't have a good translation in Spanish export default { sslProfile: `Perfil ${common.ssl}`, httpsMustBeEnabledOnOneSite: `${common.https} debe estar habilitado en al menos un sitio para modificar globalmente la configuracion ${common.https}.`, portReuse: 'Reuseport', enableReuseOfPort: `${common.enable} reuseport para generar un "listening socket" por "worker"`, ocspDnsResolvers: 'OCSP DNS Resolvers', cloudflareResolver: 'Cloudflare Resolver', googlePublicDns: 'Google Public DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `${common.letsEncrypt} webroot`, letsEncryptCertRoot: `directorio del certificado ${common.letsEncrypt}`, mozillaModern: `${mozilla} Moderno`, mozillaIntermediate: `${mozilla} Intermedio`, mozillaOld: `${mozilla} Antiguo`, ipv4Only: `solo ${ipv4}`, ipv6Only: `solo ${ipv6}`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} el registro de error de archivo no encontrado`, logformat: 'log_format', level: 'logging level', // TODO: translate enableCloudflare: 'agregar cabecera de petición de Cloudflare en el formato por defecto del registro', 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', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `Directorio de configuración de ${common.nginx}`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate enableDisableHtmlCaching: 'disable HTML caching', // TODO: translate gzipCompression: 'Compresión Gzip', enableGzipCompression: `${common.enable} compresión gzip`, brotliCompression: 'Compresión Brotli', enableBrotliCompression: `${common.enable} compresión brotli`, brotliIsANonStandardModule: 'Brotli no es un modulo estandar de NGINX , verifica el ', brotliGoogleNgxBrotliProject: 'Proyecto de Google ngx_brotli', brotliForBuildingNginxWithBrotli: ' para saber como construir un NGINX con Brotli!', expirationForAssets: 'Expiración para assets', expirationForMedia: 'Expiración para media', expirationForSvgs: 'Expiración para SVGs', expirationForFonts: 'Expiración para fuentes', performance: 'Rendimiento', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `Servidor ${common.python}`, pythonMustBeEnabledOnOneSite: `${common.python} debe estar habilitado en al menos un sitio para modificar globalmente la configuración ${common.python}.`, }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'Cabeceras X-Forwarded-* Legacy'; export default { reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} debe estar habilitado en al menos un sitio para modificar globalmente la configuración ${common.reverseProxyLower}.`, seconds: 'segundos', passOn: `${legacyXForwarded} transmitido`, remove: `${legacyXForwarded} removido`, }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Cuando usan ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; es usualmente requerido en el Content Security Policy para permitir que el panel de administrador funcione correctamente.`, security: 'Seguridad', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: 'Estructura modularizada', enableModularizedConfigFiles: `${common.enable} archivos de configuración modularizado`, symlinkVhost: 'Enlaces simbólicos de vhost', enableSymLinksFrom: `${common.enable} enlaces simbólicos de`, to: 'para', shareConfiguration: 'Compartir configuración', resetConfiguration: 'Reiniciar configuración', resetGlobalConfig: 'Reiniciar configuración global', resetAllDomains: 'Reiniciar todos los dominios', removeAllDomains: 'Quitar todos los dominios', resetAllDomainsConfig: 'Reiniciar todas las configuraciones de los dominions', resetDomainConfig: 'Reiniciar la configuración del dominio', removeDomain: 'Quitar dominio', yesImSure: 'Si, Estoy seguro', noCancel: 'No, cancelar', tools: 'Herramientas', resetGlobalConfigBody: '¿Estás seguro de que desea reiniciar todas las opciones de configuración en la sección de configuración global?', resetAllDomainsConfigBody: '¿Estás seguro de que desea reiniciar la configuración de TODOS los dominios?', removeAllDomainsBody: '¿Estás seguro de que desea quitar TODAS las configuraciones de dominio?', areYouSureYouWantToResetAllConfigurationOptionsForThe: '¿Estás seguro de que desea reiniciar todas las opciones de configuración del', domain: 'dominio?', areYouSureYouWantToRemoveThe: '¿Estás seguro de que quieres quitar la ', domainConfiguration: 'configuración de dominio?', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/es/templates/setup.js ================================================ /* Copyright 2021 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: 'Descargar configuración', copyBase64: 'Copiar Base64', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `Comente las directivas relacionadas con ${common.ssl} en la configuración:`, sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, // TODO: translate reloadYourNginxServer: `Recargar el ${common.nginx}:`, obtainSslCertificatesFromLetsEncrypt: `Obtenga los certificados ${common.ssl} de ${common.letsEncrypt} usando ${certbot}:`, uncommentSslDirectivesInConfiguration: `Comente las directivas relacionadas con ${common.ssl} en la configuración:`, configureCertbotToReloadNginxOnCertificateRenewal: `Configure ${certbot} para recargar ${common.nginx} cuando renueve los certificados exitosamente:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} no es necesario configurarlo para su configuracion de ${common.nginx}.`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/es/templates/setup_sections/download.js ================================================ /* 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.js'; // Here is a HACK, because the real traslation is: "y subirla en la carpeta '/etc/nginx' de tu servidor. " // but the HTML order of the templates are wrong: "y subirla en el servidor '/etc/nginx' carpeta." export default { downloadTheGeneratedConfig: 'Descargar la configuracion generada:', andUploadItToYourServers: 'y subirla en', directory: '.', or: 'o, ', copyBase64StringOfCompressedConfig: 'Copiar el texto comprimido en base64 de la configuracion', pasteItInYourServersCommandLineAndExecute: ', péguelo en la línea de comando de su servidor y ejecútelo.', navigateToYourNginxConfigurationDirectoryOnYourServer: `Navega en la carpeta de configuracion de ${common.nginx} de tu servidor:`, createABackupOfYourCurrentNginxConfiguration: `Crea un respaldo de tu configuracion actual de ${common.nginx}:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'Extraer el nuevo archivo de configuracion comprimido usando tar:', download: 'Descargar', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: '¡Vamos a desplegar!', reloadNginxToLoadInYourNewConfiguration: `Reiniciar ${common.nginx} para cargar tu nueva configuración:`, goLive: '¡A desplegar!', }; ================================================ FILE: src/nginxconfig/i18n/es/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/es/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Genera llaves Diffie-Hellman ejecutando este comando en su servidor:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `Crear una simple carpeta ACME-challenge (para ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `No se necesitan pasos adicionales para configurar ${common.ssl} en tu configuracion de ${common.nginx}.`, sslInit: `Preparar el ${common.ssl}`, }; ================================================ FILE: src/nginxconfig/i18n/fa/common.js ================================================ /* 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: 'مسیر', }; ================================================ FILE: src/nginxconfig/i18n/fa/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/fa/languages.js ================================================ /* 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: 'فارسی', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}پیکربندی`, description: `ساده‌ترین راه برای پیکربندی یک سرور ${common.nginx} کارآمد، امن و پایدار.`, singleColumnMode: 'حالت ستون تکی', splitColumnMode: 'حالت کناره به کناره', perWebsiteConfig: 'پیکربندی برای هر وب‌سایت', addSite: 'افزودن وب‌سایت', globalConfig: 'پیکربندی جهانی', setup: 'راه‌اندازی', configFiles: 'پرونده‌های پیکربندی', copied: 'کپی شد', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/callouts/contribute.js ================================================ /* 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', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/callouts/droplet.js ================================================ /* 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', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/https.js ================================================ /* 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.js'; 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!', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: 'به وسیلهٔ دامنه', enableForThisDomain: `${common.enable} برای این دامنه`, arguments: 'آرگومان‌ها', level: 'سطح ورود', forRedirects: 'برای هدایت‌ها', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/onion.js ================================================ /* 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` ختم می‌شوند.', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/php.js ================================================ /* 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.js'; 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: 'غیرفعال', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/presets.js ================================================ /* 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: 'اپلیکیشن تک‌صفحه‌ای', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/python.js ================================================ /* 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.js'; 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}`, }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js ================================================ /* 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: 'کد پاسخ', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} غیرفعال است.`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} نمی‌تواند هنگامی که ${common.php} فعال است، فعال شود.`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} نمی‌تواند هنگامی که ${common.python} فعال است، فعال شود.`, enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, proxyHostHeader: 'هدر میزبان پروکسی', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'مسیریابی پشتیبانی شده', fallbackRoutingPhpPath: `مسیریابی پشتیبانی شده ${common.php}`, legacyPhpRouting: `مسیریابی قدیمی ${common.php}`, enableLegacyRouting: `${common.enable} مسیریابی قدیمی`, routing: 'مسیریابی', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/domain_sections/server.js ================================================ /* 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: 'گوش کردن', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/footer.js ================================================ /* 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', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/docker.js ================================================ /* 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.js'; 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`, }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/https.js ================================================ /* 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.js'; 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}`, }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/logging.js ================================================ /* 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.js'; 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', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `${common.nginx} دایرکتوری پیکربندی`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/performance.js ================================================ /* 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.js'; 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: 'عملکرد', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `${common.python} سرور`, pythonMustBeEnabledOnOneSite: `${common.python} باید حداقل بر روی یک سایت فعال شود تا تنظیمات ${common.python} جهانی را پیکربندی کنید.`, }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; export default { reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} باید حداقل بر روی یک سایت فعال شود تا تنظیمات ${common.reverseProxyLower} جهانی را پیکربندی کنید.`, seconds: 'ثانیه', passOn: `${legacyXForwarded} منتقل شده`, remove: `${legacyXForwarded} به طور فعال حذف شده`, }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `هنگام استفاده از ${common.wordPress}، script-src 'self' 'unsafe-inline' 'unsafe-eval'; اغلب برای اجازه به پنل مدیریت برای عملکرد صحیح، در سیاست امنیتی محتوا مورد نیاز است.`, security: 'امنیت', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/global_sections/tools.js ================================================ /* 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.js'; 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: 'پیکربندی دامنه را حذف کنید؟', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/setup.js ================================================ /* 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', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js ================================================ /* 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.js'; 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, }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: 'دانلود پیکربندی تولید شده:', andUploadItToYourServers: 'و آن را به سرورهای خود آپلود کنید', directory: 'دایرکتوری.', or: 'یا، ', copyBase64StringOfCompressedConfig: 'یک رشته base64 از پیکربندی فشرده را کپی کنید', pasteItInYourServersCommandLineAndExecute: ', آن را در خط فرمان سرور خود پیست کرده و اجرا کنید.', navigateToYourNginxConfigurationDirectoryOnYourServer: `به دایرکتوری پیکربندی ${common.nginx} خود در سرورتان بروید:`, createABackupOfYourCurrentNginxConfiguration: `پشتیبانی از پیکربندی ${common.nginx} فعلی خود بسازید:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'فایل فشرده پیکربندی جدید را با استفاده از tar استخراج کنید:', download: 'دانلود', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: 'بیایید زنده شویم!', reloadNginxToLoadInYourNewConfiguration: `${common.nginx} را بارگذاری کنید تا پیکربندی جدید شما بارگذاری شود:`, goLive: 'زنده شوید!', }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'کلیدهای Diffie-Hellman را با اجرای این دستور در سرور خود ایجاد کنید:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `یک دایرکتوری مشترک ACME-challenge (برای ${common.letsEncrypt}) ایجاد کنید:`, noAdditionalStepsAreNeededToSetUpSslForNginx: `برای پیکربندی ${common.nginx} شما نیازی به مراحل اضافی برای راه‌اندازی ${common.ssl} ندارید.`, sslInit: `${common.ssl} init`, }; ================================================ FILE: src/nginxconfig/i18n/fr/common.js ================================================ /* Copyright 2021 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: 'Précédent', next: 'Suivant', enable: 'activer', 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: 'Logs', reverseProxy: 'Proxy Inverse', reverseProxyLower: 'proxy inverse', restrict: 'Restreindre', path: 'Chemin', }; ================================================ FILE: src/nginxconfig/i18n/fr/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/fr/languages.js ================================================ /* 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: 'Anglais', es: 'Espanol', zhCN: 'Chinois (simplifié)', zhTW: 'Chinois (traditionnel)', ptBR: 'Portugais (brésilien)', fr: 'Français', ru: 'Russe', pl: 'Polonais', de: 'Allemand', ja: 'Japonais', fa: 'Persan', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}Config`, description: `La manière la plus simple de configurer un serveur ${common.nginx} performant, sécurisé et stable.`, singleColumnMode: 'Mode simple colonne', splitColumnMode: 'Mode double colonne', perWebsiteConfig: 'Configuration par site', addSite: 'Ajouter un site', globalConfig: 'Configuration globale', setup: 'Configurer', configFiles: 'Fichiers de configuration', copied: 'Copié', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/callouts/contribute.js ================================================ /* Copyright 2021 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: "👋 Vous souhaitez demander de nouvelles fonctionnalités, apporter des modifications, ou traduire l'outil dans une nouvelle langue?", getInvolvedOnGitHub: 'Participez sur GitHub', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/callouts/droplet.js ================================================ /* Copyright 2021 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: '👋 Vous cherchez à déployer votre nouvelle configuration?', tryOutDigitalOceansDroplet: 'Essayez les Droplets LEMP de DigitalOcean avec NGINX', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/https.js ================================================ /* 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.js'; export default { enableEncryptedSslConnection: `${common.enable} les connexions ${common.ssl}`, http2: `${common.http}/2`, enableHttp2Connections: `${common.enable} les connexions ${common.http}/2`, http3: `${common.http}/3`, enableHttp3Connections: `${common.enable} les connexions ${common.http}/3`, forceHttps: `Forcer ${common.https}`, hsts: 'HSTS', enableStrictTransportSecurity: `${common.enable} Strict Transport Security, exigeant HTTPS`, enableIncludeSubDomains: `${common.enable} la directive includeSubDomains, exigeant une connexion HTTPS pour tous les sous-domaines.`, enablePreload: `${common.enable} la directive de préchargement, indiquant aux navigateurs de toujours utiliser une connexion HTTPS`, certificationType: 'Type de certification', customCertificate: 'Certificat personnalisé', letsEncryptEmail: `E-mail ${common.letsEncrypt}`, http3IsANonStandardModule: "HTTP/3 n'est pas un module standard de NGINX, veuillez lire ", http3NginxQuicReadme: 'le Readme de NGINX QUIC', http3OrThe: ' ou le ', http3CloudflareQuicheProject: 'projet Cloudflare quiche', http3ForBuildingNginxWithHttp3: ' pour compiler NGINX avec le support HTTP/3!', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: 'par domaine', enableForThisDomain: `${common.enable} pour ce domaine`, arguments: 'arguments', // TODO: translate level: 'logging level', // TODO: translate forRedirects: 'for redirects', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/onion.js ================================================ /* Copyright 2021 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: `Adresse ${onion}`, provideAnOnionLocationToSetOnionLocationHeader: 'Fournir une adresse Onion pour définir le header Onion-Location pour votre site.', letsVisitorsKnownOnionServicesIsAvailable: "Indique aux visiteurs qu'une version onion du site est disponible pour les navigateurs Tor.", learnMoreAboutOnionServices: 'En apprendre plus sur les services Onion', onionLocationExpectedToEndWithOnion: 'Une adresse onion se termine normalement avec `.onion`.', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `${common.php} est désactivé.`, phpCannotBeEnabledWithReverseProxy: `${common.php} ne peut pas être activé en même temps que le ${common.reverseProxyLower}.`, phpCannotBeEnabledWithPython: `${common.php} ne peut pas être activé en même temps que ${common.python}.`, enablePhp: `${common.enable} ${common.php}`, wordPressRules: `Règles ${common.wordPress}`, enableWordPressRules: `${common.enable} les règles spécifiques à ${common.wordPress}`, drupalRules: `Règles ${common.drupal}`, enableDrupalRules: `${common.enable} les règles spécifiques à ${common.drupal}`, magentoRules: `Règles ${common.magento}`, enableMagentoRules: `${common.enable} les règles spécifiques à ${common.magento}`, joomlaRules: `Règles ${common.joomla}`, enableJoomlaRules: `${common.enable} les règles spécifiques à ${common.joomla}`, phpServer: `Serveur ${common.php}`, phpBackupServer: `Serveur de sauvegarde ${common.php}`, tcp: 'TCP', hhvmSocket: 'Socket HHVM', php70Socket: 'Socket 7.0', php71Socket: 'Socket 7.1', php72Socket: 'Socket 7.2', php73Socket: 'Socket 7.3', php74Socket: 'Socket 7.4', php80Socket: 'Socket 8.0', php81Socket: 'Socket 8.1', php82Socket: 'Socket 8.2', phpSocket: 'Socket PHP', custom: 'Custom', disabled: 'Désactivé', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/presets.js ================================================ /* Copyright 2021 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: 'Préconfigurations', itLooksLikeYouCustomisedTheConfig: 'Il semblerait que vous ayez customisé la configuration de ce domaine. Utiliser une nouvelle préconfiguration peut réinitialiser ou changer certains paramètres que vous avez définis.', frontend: 'Frontend', nodeJs: 'Node.js', singlePageApplication: 'Application monopage', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `${common.python} est désactivé.`, pythonCannotBeEnabledWithReverseProxy: `${common.python} ne peut pas être activé en même temps que le ${common.reverseProxyLower}.`, pythonCannotBeEnabledWithPhp: `${common.python} ne peut pas être activé en même temps que ${common.php}.`, enablePython: `${common.enable} ${common.python}`, djangoRules: `Règles de ${common.django}`, enableDjangoRules: `${common.enable} les règles spécifiques à ${common.django}`, }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/restrict.js ================================================ /* Copyright 2021 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: 'désactiver pour ce domaine', responseCode: 'Code de réponse', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `Le ${common.reverseProxyLower} est désactivé.`, reverseProxyCannotBeEnabledWithPhp: `Le ${common.reverseProxyLower} ne peut pas être activé en même temps que ${common.php}.`, reverseProxyCannotBeEnabledWithPython: `Le ${common.reverseProxyLower} ne peut pas être activé en même temps que ${common.python}.`, enableReverseProxy: `${common.enable} le ${common.reverseProxyLower}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'Routes par défaut', fallbackRoutingPhpPath: `Chemin par défaut ${common.php}`, legacyPhpRouting: `Routage ${common.php} legacy`, enableLegacyRouting: `${common.enable} le routage legacy`, routing: 'Routage', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/domain_sections/server.js ================================================ /* Copyright 2021 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: 'Domaine', documentRoot: 'Dossier racine', oneOrMoreOtherDomainsAreAlsoNamed: 'Un ou plusieurs autres domaines sont aussi nommés', thisWillCauseIssuesWithConfigGeneration: 'Cela causera des problèmes lors de la génération de la configuration.', wwwSubdomain: 'Sous-domaine www', cdnSubdomain: 'Sous-domaine CDN', redirectSubdomains: 'Rediriger les sous-domaines', server: 'Serveur', listen: 'écouter', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/footer.js ================================================ /* Copyright 2021 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: 'Retour en haut', thisToolIs: 'Cet outil est', openSourceOnGitHub: 'open-source sur GitHub', underThe: 'sous', mit: 'licence MIT', license: '!', weWelcomeFeedbackAndContributions: 'Nous apprécions les retours et les contributions.', originallyCreatedBy: 'Initialement créé par', balintSzekeres: 'Bálint Szekeres', maintainedBy: 'maintenu par', digitalOcean: 'DigitalOcean', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, applyDockerTweaks: `Configurer pour ${docker}`, applyDockerTweaksForNginx: `Applique des ajustements pour exécuter ${common.nginx} avec ${docker}`, applyDockerTweaksExplainer: `Définit l'utilisateur ${common.nginx} comme nginx et le pid comme /var/run/nginx.pid`, includeDockerfile: `Inclure un ${dockerfile} pour exécuter ${common.nginx} avec ${docker}`, includeDockerCompose: `Inclure un docker-compose pour exécuter ${common.nginx} avec docker-compose`, }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `Profil ${common.ssl}`, httpsMustBeEnabledOnOneSite: `${common.https} doit être activé sur au moins un site pour configurer les paramètres ${common.https} globaux.`, portReuse: 'Reuseport', enableReuseOfPort: `${common.enable} reuseport pour générer un socket passif par worker`, ocspDnsResolvers: 'Résolveur DNS OCSP', cloudflareResolver: 'Résolveur Cloudflare', googlePublicDns: 'Google Public DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `${common.letsEncrypt} dossier racine`, letsEncryptCertRoot: `Dossier du certificat ${common.letsEncrypt}`, mozillaModern: `${mozilla} Moderne`, mozillaIntermediate: `${mozilla} Intermédiaire`, mozillaOld: `${mozilla} Ancien`, ipv4Only: `${ipv4} seulement`, ipv6Only: `${ipv6} seulement`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} les erreurs de fichiers introuvables lors de la journalisation`, logformat: 'log_format', level: 'logging level', // TODO: translate enableCloudflare: 'ajouter les en-têtes de requête CloudFlare au format de journal par défaut', 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', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `Dossier de configuration ${common.nginx}`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate enableDisableHtmlCaching: 'disable HTML caching', // TODO: translate gzipCompression: 'Compression Gzip', enableGzipCompression: `${common.enable} la compression gzip`, brotliCompression: 'Compression Brotli', enableBrotliCompression: `${common.enable} la compression brotli`, brotliIsANonStandardModule: "Brotli n'est pas un module standard de NGINX, veuillez lire le ", brotliGoogleNgxBrotliProject: 'projet Google ngx_brotli', brotliForBuildingNginxWithBrotli: ' pour compiler NGINX avec le support Brotli!', expirationForAssets: 'Expiration des assets', expirationForMedia: 'Expiration des medias', expirationForSvgs: 'Expiration des SVGs', expirationForFonts: 'Expiration des fonts', performance: 'Performances', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `Serveur ${common.python}`, pythonMustBeEnabledOnOneSite: `${common.python} doit être activé sur au moins un site pour configurer les paramètres globaux de ${common.python}.`, }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'En-têtes dépréciés X-Forwarded-*'; export default { reverseProxyMustBeEnabledOnOneSite: `Le ${common.reverseProxyLower} doit être activé sur au moins un site pour configurer les paramètres globaux du ${common.reverseProxyLower}.`, seconds: 'secondes', passOn: `${legacyXForwarded} transmis`, remove: `${legacyXForwarded} supprimés`, }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Lors de l'utilisation de ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; est fréquemment exigé par la Politique de Sécurité du Contenu pour assurer le bon fonctionnement du panneau d'administration.`, security: 'Sécurité', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: 'Structure modulaire', enableModularizedConfigFiles: `${common.enable} les fichiers de configuration modulaires`, symlinkVhost: 'Lien symbolique pour vhost', enableSymLinksFrom: `${common.enable} les liens symboliques depuis`, to: 'vers', shareConfiguration: 'Partager la configuration', resetConfiguration: 'Réinitialiser la configuration', resetGlobalConfig: 'Réinitialiser la configuration globale', resetAllDomains: 'Réinitialiser tous les domaines', removeAllDomains: 'Supprimer tous les domaines', resetAllDomainsConfig: 'Réinitialiser la configuration de tous les domaines', resetDomainConfig: 'Réinitialiser la configuration du domaine', removeDomain: 'Supprimer le domaine', yesImSure: 'Oui, je suis sûr(e)', noCancel: 'Non, annuler', tools: 'Outils', resetGlobalConfigBody: 'Voulez-vous vraiment réinitialiser toutes les options de configuration globales?', resetAllDomainsConfigBody: 'Voulez-vous vraiment réinitialiser les configurations de TOUS les domaines?', removeAllDomainsBody: 'Voulez-vous vraiment supprimer les configurations de TOUS les domaines?', areYouSureYouWantToResetAllConfigurationOptionsForThe: 'Voulez-vous vraiment réinitialiser toutes les options de configuration pour', domain: '?', areYouSureYouWantToRemoveThe: 'Voulez-vous vraiment supprimer', domainConfiguration: '?', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/setup.js ================================================ /* Copyright 2021 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: 'Télécharger la configuration', copyBase64: 'Copier en Base64', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `Commentez les directives relatives à ${common.ssl}:`, sslOffDeprecationWarning: `Cette commande ajoutera une directive temporaire ssl off pour s'assurer que les directives ${common.ssl} ne sont pas actives. Cela peut amener ${common.nginx} à émettre un avertissement, qui peut être ignoré en toute sécurité. La directive sera supprimée une fois que ${certbot} sera configuré.`, reloadYourNginxServer: `Relancez le serveur ${common.nginx}:`, obtainSslCertificatesFromLetsEncrypt: `Obtenez les certificats ${common.ssl} de ${common.letsEncrypt} à l'aide de ${certbot}:`, uncommentSslDirectivesInConfiguration: `Décommentez les directives relatives à ${common.ssl}:`, configureCertbotToReloadNginxOnCertificateRenewal: `Configurez ${certbot} pour relancer ${common.nginx} lors du renouvellement des certificats:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `Il est inutile de configurer ${certbot} pour votre configuration ${common.nginx}.`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: 'Téléchargez la configuration générée:', andUploadItToYourServers: 'et uploadez-la vers le répertoire', directory: 'de votre serveur.', or: 'ou, ', copyBase64StringOfCompressedConfig: 'copiez la configuration compressée et encodée en base64', pasteItInYourServersCommandLineAndExecute: ', puis collez-la et exécutez-la en ligne de commande sur votre serveur.', navigateToYourNginxConfigurationDirectoryOnYourServer: `Sur votre serveur, naviguez vers le dossier de configuration de ${common.nginx}:`, createABackupOfYourCurrentNginxConfiguration: `Créez un backup de votre configuration ${common.nginx} actuelle:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'Décompressez la nouvelle configuration en utilisant Tar:', download: 'Téléchargement', }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: "C'est en ligne!", reloadNginxToLoadInYourNewConfiguration: `Relancez ${common.nginx} pour charger la nouvelle configuration:`, goLive: "C'est en ligne!", }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Générez des clefs de Diffie-Hellman en exécutant cette commande sur votre serveur:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `Créez un répertoire commun ACME-challenge (pour ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `Aucune étape additionnelle n'est nécessaire pour configurer ${common.ssl} pour ${common.nginx}.`, sslInit: `${common.ssl} init`, }; ================================================ FILE: src/nginxconfig/i18n/ja/common.js ================================================ /* Copyright 2022 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: 'パス', }; ================================================ FILE: src/nginxconfig/i18n/ja/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/ja/languages.js ================================================ /* 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: 'ペルシア語', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}設定`, description: `パフォーマンス、安全性、安定性に優れた ${common.nginx} サーバーを簡単に構成できます。`, singleColumnMode: 'シングルカラムモード', splitColumnMode: '並列表示モード', perWebsiteConfig: 'Webサイトごとの設定', addSite: 'サイトを追加する', globalConfig: 'グローバル設定', setup: 'セットアップ', configFiles: '設定ファイル', copied: 'コピーしました', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/callouts/contribute.js ================================================ /* Copyright 2022 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 で参加しよう', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/callouts/droplet.js ================================================ /* Copyright 2022 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: 'DigitalOceanの NGINXを使ったLEMP Droplet を試してみましょう', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/https.js ================================================ /* 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.js'; export default { enableEncryptedSslConnection: `暗号化された ${common.ssl} 接続を${common.enable}`, http2: `${common.http}/2`, enableHttp2Connections: `${common.http}/2 接続を${common.enable}`, http3: `${common.http}/3`, enableHttp3Connections: `${common.http}/3 接続を${common.enable}`, forceHttps: `${common.https}を強制する`, hsts: 'HSTS', enableStrictTransportSecurity: `Strict Transport Security を${common.enable}, HTTPS接続が必要`, enableIncludeSubDomains: `includeSubDomains ディレクティブを${common.enable}, 全てのサブドメインでHTTPS接続が必要`, enablePreload: `プリロードディレクティブを${common.enable}, HTTPS接続のみを常に行うようブラウザに指示します`, certificationType: '証明書', customCertificate: 'カスタム証明書', letsEncryptEmail: `${common.letsEncrypt} Eメールアドレス`, http3IsANonStandardModule: 'HTTP/3 は NGINX の標準モジュールではありません, くわしくは ', http3NginxQuicReadme: 'NGINX QUIC readme', http3OrThe: ' もしくは ', http3CloudflareQuicheProject: 'Cloudflare quicheプロジェクト', http3ForBuildingNginxWithHttp3: ' のHTTP/3を使ったNGINXの構築方法を確認してください!', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: '(ドメインごと)', enableForThisDomain: `このドメインで${common.enable}`, arguments: 'arguments', // TODO: translate level: 'logging level', // TODO: translate forRedirects: 'for redirects', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/onion.js ================================================ /* Copyright 2022 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} location`, provideAnOnionLocationToSetOnionLocationHeader: 'サイトのOnion-Locationヘッダを設定するために、Onion locationアドレスを提供する。', letsVisitorsKnownOnionServicesIsAvailable: 'これにより、あなたのサイトのオニオンサービス版がTorブラウザで利用可能であることをサイト訪問者に知らせます。', learnMoreAboutOnionServices: 'Onion サービスについて詳しくはこちら', onionLocationExpectedToEndWithOnion: 'Onion location アドレスは通常 `.onion` で終わります。', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `${common.php} は無効です。`, phpCannotBeEnabledWithReverseProxy: `リバースプロキシが有効な場合は、${common.php} を有効にすることはできません。`, phpCannotBeEnabledWithPython: `${common.python} が有効な場合は、 ${common.php} を有効にすることはできません。`, enablePhp: `${common.php} を${common.enable}`, wordPressRules: `${common.wordPress} ルール`, enableWordPressRules: `${common.wordPress} 用ルールを${common.enable}`, drupalRules: `${common.drupal} ルール`, enableDrupalRules: `${common.drupal} 用ルールを${common.enable}`, magentoRules: `${common.magento} ルール`, enableMagentoRules: `${common.magento} 用ルールを${common.enable}`, joomlaRules: `${common.joomla} ルール`, enableJoomlaRules: `${common.joomla} 用ルールを${common.enable}`, phpServer: `${common.php} サーバ`, phpBackupServer: `${common.php} バックアップサーバ`, tcp: 'TCP', hhvmSocket: 'HHVM socket', php70Socket: '7.0 socket', php71Socket: '7.1 socket', php72Socket: '7.2 socket', php73Socket: '7.3 socket', php74Socket: '7.4 socket', php80Socket: '8.0 socket', php81Socket: '8.1 socket', php82Socket: '8.2 socket', phpSocket: 'PHP socket', custom: 'カスタム', disabled: '無効', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/presets.js ================================================ /* Copyright 2022 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: 'シングルページアプリケーション(SPA)', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `${common.python} は無効です。`, pythonCannotBeEnabledWithReverseProxy: `リバースプロキシが有効な場合は、${common.python} を有効にすることはできません。`, pythonCannotBeEnabledWithPhp: `${common.php} が有効な場合は、 ${common.python} を有効にすることはできません。`, enablePython: `${common.python}を${common.enable}`, djangoRules: `${common.django} ルール`, enableDjangoRules: `${common.django} 用ルールを${common.enable}`, }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/restrict.js ================================================ /* Copyright 2022 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: 'レスポンスコード', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} は無効です。`, reverseProxyCannotBeEnabledWithPhp: `${common.php} が有効な場合は、 ${common.reverseProxy} を有効にすることはできません。`, reverseProxyCannotBeEnabledWithPython: `${common.python} が有効な場合は、 ${common.reverseProxy} を有効にすることはできません。`, enableReverseProxy: `${common.reverseProxyLower}を${common.enable}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'フォールバックルーティング', fallbackRoutingPhpPath: `フォールバックルーティング ${common.php} パス`, legacyPhpRouting: `レガシーな ${common.php} ルーティング`, enableLegacyRouting: `レガシーなルーティングを${common.enable}`, routing: 'ルーティング', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/domain_sections/server.js ================================================ /* Copyright 2022 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: 'リッスン', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/footer.js ================================================ /* Copyright 2022 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: 'TOPへ戻る', thisToolIs: 'このツールは', openSourceOnGitHub: 'オープンソースとしてGitHub上に', underThe: '', mit: 'MIT', license: 'ライセンスで公開されています。', weWelcomeFeedbackAndContributions: 'リードバックやコントリビュートは大歓迎です。', originallyCreatedBy: 'オリジナル開発者: ', balintSzekeres: 'Bálint Szekeres', maintainedBy: 'メンテナンス: ', digitalOcean: 'DigitalOcean', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, applyDockerTweaks: `${docker} の調整を適用する`, applyDockerTweaksForNginx: `${common.nginx} を ${docker} 上で動作させるため、設定の微調整を適用します。`, applyDockerTweaksExplainer: `${common.nginx} ユーザを nginx に、 pid を /var/run/nginx.pid に変更してください。`, includeDockerfile: `${common.nginx} を ${docker} 上で動作させるための ${dockerfile} を含む`, includeDockerCompose: `${common.nginx} with docker-compose で動作させるための docker-compose.yaml を含む`, }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `${common.ssl} プロファイル`, httpsMustBeEnabledOnOneSite: `グローバルな ${common.https} の設定を行うには、少なくとも1つのサイトで ${common.https} が有効になっている必要があります。`, portReuse: 'Reuseport', enableReuseOfPort: `ワーカーごとにリスニングソケットを生成するために reuseport を${common.enable}`, ocspDnsResolvers: 'OCSP DNS Resolvers', cloudflareResolver: 'Cloudflare Resolver', googlePublicDns: 'Google Public DNS', 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}`, }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `FILE NOT FOUND エラーのロギングを${common.enable}`, logformat: 'log_format', level: 'logging level', // TODO: translate 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', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `${common.nginx} 設定ディレクトリ`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'HTML キャッシュの無効化', enableDisableHtmlCaching: 'HTML キャッシュを無効にする', gzipCompression: 'Gzip 圧縮', enableGzipCompression: `gzip 圧縮を${common.enable}`, brotliCompression: 'Brotli 圧縮', enableBrotliCompression: `brotli 圧縮を${common.enable}`, brotliIsANonStandardModule: 'Brotli はNGINXの標準モジュールではありません, くわしくは ', brotliGoogleNgxBrotliProject: 'Google ngx_brotli プロジェクト', brotliForBuildingNginxWithBrotli: ' のBrotliを使ったNGINXの構築方法を確認してください!', expirationForAssets: 'アセットの有効期限', expirationForMedia: 'メディアの有効期限', expirationForSvgs: 'SVG の有効期限', expirationForFonts: 'フォントの有効期限', performance: 'パフォーマンス', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `${common.python} サーバ`, pythonMustBeEnabledOnOneSite: `グローバルな ${common.python} の設定を行うには、少なくとも1つのサイトで ${common.python} が有効になっている必要があります。`, }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; export default { reverseProxyMustBeEnabledOnOneSite: `グローバルな ${common.reverseProxyLower} の設定を行うには、少なくとも1つのサイトで ${common.reverseProxy} が有効になっている必要があります。`, seconds: '秒', passOn: `${legacyXForwarded} が渡されます`, remove: `${legacyXForwarded} は積極的に削除されます`, }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `${common.wordPress} を利用している場合、 script-src 'self' 'unsafe-inline' 'unsafe-eval'; は、管理画面を正しく機能させるために、コンテンツセキュリティポリシーで要求されることが多いようです。`, security: 'セキュリティ', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: 'モジュール化された構造', enableModularizedConfigFiles: `モジュール化された設定ファイルを${common.enable}`, symlinkVhost: 'Symlink vhost', enableSymLinksFrom: `シンボリックリンク を${common.enable} from`, to: 'to', shareConfiguration: '設定を共有する', resetConfiguration: '設定をリセットする', resetGlobalConfig: 'グローバル設定をリセットする', resetAllDomains: '全てのドメインをリセットする', removeAllDomains: '全てのドメインを削除する', resetAllDomainsConfig: '全てのドメインの設定をリセットする', resetDomainConfig: 'ドメインの設定をリセットする', removeDomain: 'ドメインを削除する', yesImSure: 'はい、大丈夫です', noCancel: 'いいえ、キャンセルします', tools: 'ツール', resetGlobalConfigBody: 'グローバル設定の全ての設定をリセットします、よろしいですか?', resetAllDomainsConfigBody: '全てのドメインの設定をリセットします、よろしいですか?', removeAllDomainsBody: '全てのドメインを削除します、よろしいですか?', areYouSureYouWantToResetAllConfigurationOptionsForThe: '次のドメインの設定をリセットします、よろしいですか?', domain: '', areYouSureYouWantToRemoveThe: '次のドメインの設定を削除します、よろしいですか?', domainConfiguration: '', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/setup.js ================================================ /* Copyright 2022 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でコピーする', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `設定中の ${common.ssl} 関連ディレクティブをコメントアウトします:`, sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, // TODO: translate reloadYourNginxServer: `${common.nginx} サーバをリロードします:`, obtainSslCertificatesFromLetsEncrypt: `${certbot} を利用して、 ${common.ssl} 証明書を ${common.letsEncrypt} から取得します:`, uncommentSslDirectivesInConfiguration: `設定中の ${common.ssl} 関連ディレクティブのコメントアウトを外します:`, configureCertbotToReloadNginxOnCertificateRenewal: `証明書の更新に成功したら ${certbot} が ${common.nginx} をリロードするように設定します:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} は、${common.nginx}の設定に合わせて設定する必要はありません。`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: '生成された設定ファイルをダウンロードします:', andUploadItToYourServers: 'そして、ご利用のサーバの以下のディレクトリに設定ファイルを アップロードします', directory: '。', or: 'もしくは、', copyBase64StringOfCompressedConfig: '設定が圧縮されたbase64文字列をコピーし', pasteItInYourServersCommandLineAndExecute: '、 サーバのコマンドラインにペーストして実行します', navigateToYourNginxConfigurationDirectoryOnYourServer: `サーバの ${common.nginx} の設定ディレクトリへ移動します:`, createABackupOfYourCurrentNginxConfiguration: `現在の ${common.nginx} の設定をバックアップします:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'tar を使って、新しい設定の入った圧縮ファイルを展開します:', download: 'ダウンロード', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: '起動しよう!', reloadNginxToLoadInYourNewConfiguration: `${common.nginx} をリロードして新しい設定を反映します:`, goLive: '起動!', }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/ja/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'サーバでこのコマンドを実行して Diffie-Hellman keys を生成します:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `共通の ACME-challenge ディレクトリを作成します (${common.letsEncrypt} の場合):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `${common.ssl} を ${common.nginx} の構成に設定するための追加の手順は必要ありません。`, sslInit: `${common.ssl} 初期設定`, }; ================================================ FILE: src/nginxconfig/i18n/pl/common.js ================================================ /* Copyright 2021 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: 'Wstecz', next: 'Dalej', enable: 'włącz', 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: 'Logi', reverseProxy: 'Reverse proxy', reverseProxyLower: 'reverse proxy', restrict: 'Ogranicz', path: 'Ścieżka', }; ================================================ FILE: src/nginxconfig/i18n/pl/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/pl/languages.js ================================================ /* 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: 'Angielski', es: 'Hiszpański', zhCN: 'Chiński (uproszczony)', zhTW: 'Chiński (tradycyjny)', ptBR: 'Portugalski (brazylijski)', fr: 'Francuski', ru: 'Rosyjski', pl: 'Polski', de: 'Niemiecki', ja: 'Japoński', fa: 'Perski', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}Config`, description: `Najłatwiejszy sposób aby skonfigurować zoptymalizowany, bezpieczny i stabilny serwer ${common.nginx}.`, singleColumnMode: 'Tryb jednokolumnowy', splitColumnMode: 'Tryb wielokolumnowy', perWebsiteConfig: 'Konfiguracja per strona', addSite: 'Dodaj stronę', globalConfig: 'Konfiguracja globalna', setup: 'Setup', configFiles: 'Pliki konfiguracyjne', copied: 'Skopiowane', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/callouts/contribute.js ================================================ /* Copyright 2021 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: '👋 Chcesz zapropnować nowe funkcje, wprowadzić zmiany lub przetłumaczyć narzędzie na inny język?', getInvolvedOnGitHub: 'Zaangażuj się na GitHub', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/callouts/droplet.js ================================================ /* Copyright 2021 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: '👋 Szukasz miejsca do wdrożenia nowej konfiguracji? ', tryOutDigitalOceansDroplet: 'Wypróbuj LEMP Droplet z NGINX od DigitalOcean', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/https.js ================================================ /* 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.js'; export default { enableEncryptedSslConnection: `${common.enable} szyfrowane połączenie ${common.ssl}`, http2: `${common.http}/2`, enableHttp2Connections: `${common.enable} połączenia ${common.http}/2`, http3: `${common.http}/3`, enableHttp3Connections: `${common.enable} połączenia ${common.http}/3`, forceHttps: `Wymuś ${common.https}`, hsts: 'HSTS', enableStrictTransportSecurity: `${common.enable} Strict Transport Security, wymaga połaczenia HTTPS`, enableIncludeSubDomains: `${common.enable} dyrektywę includeSubDomains, wymaga połaczenia HTTPS dla WSZYSTKICH subdomen`, enablePreload: `${common.enable} dyrektywę preload, aby przekazać przeglądarce by wykonywała wyłącznie połączenia HTTPS`, certificationType: 'Typ certyfikacji', customCertificate: 'Własny certyfikat', letsEncryptEmail: `email ${common.letsEncrypt}`, http3IsANonStandardModule: 'HTTP/3 nie jest standardowym modułem NGINX, sprawdź ', http3NginxQuicReadme: 'NGINX QUIC readme', http3OrThe: ' lub ', http3CloudflareQuicheProject: 'Cloudflare quiche project', http3ForBuildingNginxWithHttp3: ' aby dowiedzieć się o NGINX z HTTP/3!', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: 'wg. domen', enableForThisDomain: `${common.enable} dla tej domeny`, arguments: 'arguments', // TODO: translate level: 'logging level', // TODO: translate forRedirects: 'for redirects', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/onion.js ================================================ /* Copyright 2021 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: `lokalizacja ${onion}`, provideAnOnionLocationToSetOnionLocationHeader: 'Podaj adres lokalizacji onion aby ustawić nagłówek Onion-Location dla Twojej strony.', letsVisitorsKnownOnionServicesIsAvailable: 'Inforuje Twoich odiwedzających, że dostępna jest wersja onion Twojego serwisu dla przeglądarek Tor.', learnMoreAboutOnionServices: 'Dowiedz się więcej o serwisach Onion', onionLocationExpectedToEndWithOnion: 'Adres lokalizacji Onion zwykle kończy się na `.onion`.', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `${common.php} jest wyłączony.`, phpCannotBeEnabledWithReverseProxy: `${common.php} nie może zostać włączony dopóki włączony jest reverse proxy.`, phpCannotBeEnabledWithPython: `${common.php} nie może zostać włączony dopóki włączony jest ${common.python}.`, enablePhp: `${common.enable} ${common.php}`, wordPressRules: `reguły ${common.wordPress}`, enableWordPressRules: `${common.enable} reguły specyficzne dla ${common.wordPress}`, drupalRules: `reguły ${common.drupal}`, enableDrupalRules: `${common.enable} reguły specyficzne dla ${common.drupal}`, magentoRules: `reguły ${common.magento}`, enableMagentoRules: `${common.enable} reguły specyficzne dla ${common.magento}`, joomlaRules: `reguły ${common.joomla}`, enableJoomlaRules: `${common.enable} reguły specyficzne dla ${common.joomla}`, phpServer: `serwer ${common.php}`, phpBackupServer: `serwer backupowy ${common.php}`, tcp: 'TCP', hhvmSocket: 'HHVM socket', php70Socket: '7.0 socket', php71Socket: '7.1 socket', php72Socket: '7.2 socket', php73Socket: '7.3 socket', php74Socket: '7.4 socket', php80Socket: '8.0 socket', php81Socket: '8.1 socket', php82Socket: '8.2 socket', phpSocket: 'PHP socket', custom: 'Własny', disabled: 'Wyłączony', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/presets.js ================================================ /* Copyright 2021 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: 'Ustawienia wstępne', itLooksLikeYouCustomisedTheConfig: 'Wygląda na to, że dostosowałeś konfigurację dla tej domeny. Wybranie nowego ustawienia wstępnego może spowodować zresetowanie lub zmianę niektórych dostosowanych ustawień.', frontend: 'Frontend', nodeJs: 'Node.js', singlePageApplication: 'Aplikacja Single-page (SPA)', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `${common.python} jest wyłączony.`, pythonCannotBeEnabledWithReverseProxy: `${common.python} nie może zostać włączony dopóki włączony jest reverse proxy.`, pythonCannotBeEnabledWithPhp: `${common.python} nie może zostać włączony dopóki włączony jest ${common.php}.`, enablePython: `${common.enable} ${common.python}`, djangoRules: `reguły ${common.django}`, enableDjangoRules: `${common.enable} reguły specyficzne dla ${common.django}`, }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/restrict.js ================================================ /* Copyright 2021 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: 'wyłącz dla tej domeny', responseCode: 'Kod odpowiedzi', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} jest wyłączone.`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} nie może zostać włączony dopóki włączony jest ${common.php}.`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} nie może zostać włączony dopóki włączony jest ${common.python}.`, enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'Routing rezerwowy', fallbackRoutingPhpPath: `Ścieżka routingu rezerwowego dla ${common.php}`, legacyPhpRouting: `Routing starego typu dla ${common.php}`, enableLegacyRouting: `${common.enable} routing starego typu`, routing: 'Routing', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/domain_sections/server.js ================================================ /* Copyright 2021 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: 'Domena', documentRoot: 'Document root', oneOrMoreOtherDomainsAreAlsoNamed: 'Jedna lub więej domen ma również nazwę', thisWillCauseIssuesWithConfigGeneration: 'Spowoduje to problem z generowaniem pliku konfiguracyjnego.', wwwSubdomain: 'subdomena dla www', cdnSubdomain: 'subdomena dla CDN', redirectSubdomains: 'Przekieruj subdomeny', server: 'Serwer', listen: 'nasłuchuj', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/footer.js ================================================ /* Copyright 2021 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: 'Wróć na górę', thisToolIs: 'To narzędzie jest', openSourceOnGitHub: "open-source'owane na GitHub", underThe: 'na', mit: 'licencji MIT', license: '!', weWelcomeFeedbackAndContributions: 'Mile widziane opinie oraz kontrybucje.', originallyCreatedBy: 'Oryginalnie stworzone przez', balintSzekeres: 'Bálint Szekeres', maintainedBy: 'utrzymywane przez', digitalOcean: 'DigitalOcean', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, applyDockerTweaks: `Zastosuj poprawki pod ${docker}a`, applyDockerTweaksForNginx: `Zastosuj poprawki konfiguracyjne pod ${common.nginx} z ${docker}em`, applyDockerTweaksExplainer: `Aktualizuje użytkownika ${common.nginx} na nginx oraz ustawia pid na /var/run/nginx.pid`, includeDockerfile: `Dołącz ${dockerfile}, aby uruchomić ${common.nginx} z ${docker}`, includeDockerCompose: `Dołącz docker-compose, aby uruchomić ${common.nginx} z docker-compose`, }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `Profil ${common.ssl}`, httpsMustBeEnabledOnOneSite: `${common.https} musi być włączony na conajmniej jednej stronie, aby móc zastosować globalną konfigurację ${common.https}.`, portReuse: 'Reuseport', enableReuseOfPort: `${common.enable} reuseport aby generować listening socket per worker`, ocspDnsResolvers: 'OCSP DNS Resolvers', cloudflareResolver: 'Cloudflare Resolver', googlePublicDns: 'Google Public DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `${common.letsEncrypt} webroot`, letsEncryptCertRoot: `ścieżka certyfikatów ${common.letsEncrypt}`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, ipv4Only: `tylko ${ipv4}`, ipv6Only: `tylko ${ipv6}`, ipv4AndIpv6: `${ipv4} oraz ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} logowanie błędów o nieznalezionych plikach`, logformat: 'log_format', level: 'logging level', // TODO: translate enableCloudflare: 'dodaj nagłówki żądań Cloudflare do domyślnego formatu dziennika ', 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', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `ścieżka konfiguracji ${common.nginx}`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate enableDisableHtmlCaching: 'disable HTML caching', // TODO: translate gzipCompression: 'Kompresja gzip', enableGzipCompression: `${common.enable} kompresję gzip`, brotliCompression: 'Kompresja brotli', enableBrotliCompression: `${common.enable} kompresję brotli`, brotliIsANonStandardModule: 'Brotli nie jest standardowym modułem NGINX, sprawdź ', brotliGoogleNgxBrotliProject: 'projekt Google ngx_brotli', brotliForBuildingNginxWithBrotli: ' aby dowiedzieć się jak korzystać z NGINX z Brotli!', expirationForAssets: 'Wygaśnięcie assetów', expirationForMedia: 'Wygaśnięcie mediów', expirationForSvgs: 'Wygaśnięcie SVG', expirationForFonts: 'Wygaśnięcie czcionek', performance: 'Wydajność', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `Serwer ${common.python}`, pythonMustBeEnabledOnOneSite: `${common.python} musi być włączony na conajmniej jednej stronie, aby móc utworzyć konfigurację globalną dla ${common.python}a.`, }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'nagłówka X-Forwarded-* starego typu'; export default { reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} musi być włączony na conajmniej jednej stronie, aby móc zastosować globalną konfigurację ${common.reverseProxyLower}.`, seconds: 'sekund(y)', passOn: `Przekazywanie ${legacyXForwarded}`, remove: `Aktywne usuwanie ${legacyXForwarded}`, }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Korzystając z ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; jest często wymagany w Content Security Policy aby panel administracyjny działał poprawnie.`, security: 'Bezpieczeństwo', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: 'Struktura modułowa', enableModularizedConfigFiles: `${common.enable} pliki w strukturze modułowej`, symlinkVhost: 'Symlink vhost', enableSymLinksFrom: `${common.enable} symlinki z`, to: 'do', shareConfiguration: 'Udostępnij konfigurację', resetConfiguration: 'Zresetuj konfigurację', resetGlobalConfig: 'Zresetuj globalną konfigurację', resetAllDomains: 'Zresetuj wszystkie domeny', removeAllDomains: 'Usuń wszystkie domeny', resetAllDomainsConfig: 'Zresetuj wszystkie konfiguracje domen', resetDomainConfig: 'Zresetuj konfigurację domeny', removeDomain: 'Usuń domenę', yesImSure: 'Tak, jestem pewien', noCancel: 'Nie, poniechaj', tools: 'Narzędzia', resetGlobalConfigBody: 'Czy na pewno chcesz zresetować wszystkie opcje konfiguracji w sekcji konfiguracji globalnej?', resetAllDomainsConfigBody: 'Czy na pewno chcesz zresetować konfigurację WSZYSTKICH domen?', removeAllDomainsBody: 'Czy na pewno chcesz usunąć WSZYSTKIE konfiguracje domeny?', areYouSureYouWantToResetAllConfigurationOptionsForThe: 'Czy na pewno chcesz zresetować wszystkie opcje konfiguracji domeny', domain: '?', areYouSureYouWantToRemoveThe: 'Czy napewno chcesz usunąć konfigurację dla domeny ', domainConfiguration: '?', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/setup.js ================================================ /* Copyright 2021 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: 'Pobierz konfigurację', copyBase64: 'Kopiuj Base64', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `Zakomentuj dyrektywy związane z ${common.ssl} w pliku konfiguracyjnym:`, sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, // TODO: translate reloadYourNginxServer: `Przeładuj usługę ${common.nginx}:`, obtainSslCertificatesFromLetsEncrypt: `Uzysjak certyfikat ${common.ssl} od ${common.letsEncrypt} za pomocą ${certbot}:`, uncommentSslDirectivesInConfiguration: `Odkomentuj dyrektywy związane z ${common.ssl} w pliku konfiguracyjnym:`, configureCertbotToReloadNginxOnCertificateRenewal: `Skonfiguruj ${certbot} aby przeładował ${common.nginx} kiedy poprawnie odnowi certyfikat:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} nie musi być skonfigurowany dla Twojej konfiguracji ${common.nginx}.`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: 'Pobierz wygenerowany konfig:', andUploadItToYourServers: 'oraz wyślij go na serwer do katalogu', directory: '', or: 'lub ', copyBase64StringOfCompressedConfig: 'Skopiuj skompresowny do base64, plik konfiguracyjny', pasteItInYourServersCommandLineAndExecute: ', wklej go w terminalu na serwerze i uruchom go.', navigateToYourNginxConfigurationDirectoryOnYourServer: `Nawiguj do ścieżki konfiguracyjnej ${common.nginx} na swoim serwerze:`, createABackupOfYourCurrentNginxConfiguration: `Utrwórz kopię zapasową swojego obecnego pliku konfiguracyjnego ${common.nginx}:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'Wypakuj skompresowane archiwum z konfiguracją, korzystając z tar:', download: 'Pobierz', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: 'Do dzieła!', reloadNginxToLoadInYourNewConfiguration: `Przeładuj ${common.nginx} aby załadować nową konfigurację:`, goLive: 'Do dzieła!', }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/pl/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Wygeneruj klucze Diffie-Hellman uruchamiając te komendę na swoim serwerze:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `Utwórz powszechny katalog ACME-challenge (dla ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `Nie potrzeba żadnych dodatkowych kroków dla ${common.ssl} w Twojej konfiguracji ${common.nginx}.`, sslInit: `${common.ssl} init`, }; ================================================ FILE: src/nginxconfig/i18n/pt-br/common.js ================================================ /* Copyright 2020 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: 'Voltar', next: 'Próximo', enable: 'habilitar', 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: 'Logs', reverseProxy: 'Proxy reverso', reverseProxyLower: 'proxy reverso', restrict: 'Restringir', path: 'Caminho', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/pt-br/languages.js ================================================ /* 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: 'Inglês', es: 'Espanhol', zhCN: 'Chinês (simplificado)', zhTW: 'Chinês (tradicional)', ptBR: 'Português (brasileiro)', fr: 'Francês', ru: 'Russa', pl: 'Polonês', de: 'Alemão', ja: 'Japonês', fa: 'Persa', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}Configuração`, description: `A maneira mais fácil de configurar um servidor ${common.nginx} de alto desempenho, seguro e estável.`, singleColumnMode: 'Modo de coluna única', splitColumnMode: 'Modo com divisão de colunas', perWebsiteConfig: 'Configuração por site', addSite: 'Adicionar site', globalConfig: 'Configuração global', setup: 'Configurar', configFiles: 'Arquivos de configuração', copied: 'Copiado', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/callouts/contribute.js ================================================ /* Copyright 2021 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: '👋 Want to request new features, contribute changes, or translate the tool into a new language?', // TODO: translate getInvolvedOnGitHub: 'Get involved on GitHub', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/callouts/droplet.js ================================================ /* Copyright 2021 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: '👋 Looking for a place to deploy your new configuration?', // TODO: translate tryOutDigitalOceansDroplet: "Try out DigitalOcean's LEMP Droplet with NGINX", // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/https.js ================================================ /* 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.js'; export default { enableEncryptedSslConnection: `${common.enable} conexões ${common.ssl} criptografadas`, http2: `${common.http}/2`, enableHttp2Connections: `${common.enable} conexões ${common.http}/2`, http3: `${common.http}/3`, enableHttp3Connections: `${common.enable} conexões ${common.http}/3`, forceHttps: `Forçar ${common.https}`, hsts: 'HSTS', enableStrictTransportSecurity: `${common.enable} Strict Transport Security, requerendo conexões HTTPS`, enableIncludeSubDomains: `${common.enable} a diretiva includeSubDomains, requerendo conexões HTTPS para TODOS os subdomínios`, enablePreload: `${common.enable} a diretiva preload, dizendo aos navegadores para sempre fazer conexões HTTPS apenas`, certificationType: 'Tipo de certificação', customCertificate: 'Certificado personalizado', letsEncryptEmail: `E-mail do ${common.letsEncrypt}`, http3IsANonStandardModule: "HTTP/3 isn't a standard NGINX module, check the ", // TODO: translate http3NginxQuicReadme: 'NGINX QUIC readme', // TODO: translate http3OrThe: ' or the ', // TODO: translate http3CloudflareQuicheProject: 'Cloudflare quiche project', // TODO: translate http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: 'por domínio', enableForThisDomain: `${common.enable} para este domínio`, arguments: 'arguments', // TODO: translate level: 'logging level', // TODO: translate forRedirects: 'for redirects', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/onion.js ================================================ /* Copyright 2020 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} location`, // TODO: translate provideAnOnionLocationToSetOnionLocationHeader: 'Provide an onion location address to set the Onion-Location header for your site.', // TODO: translate letsVisitorsKnownOnionServicesIsAvailable: 'This lets visitors know that an onion services version of your site is available for Tor browsers.', // TODO: translate learnMoreAboutOnionServices: 'Learn more about Onion services', // TODO: translate onionLocationExpectedToEndWithOnion: 'Onion location addresses normally end with `.onion`.', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `O ${common.php} está desabilitado.`, phpCannotBeEnabledWithReverseProxy: `O ${common.php} não pode ser habilitado enquanto o proxy reverso estiver habilitado.`, phpCannotBeEnabledWithPython: `O ${common.php} não pode ser habilitado enquanto o ${common.python} estiver habilitado.`, enablePhp: `${common.enable} ${common.php}`, wordPressRules: `Regras do ${common.wordPress}`, enableWordPressRules: `${common.enable} regras específicas do ${common.wordPress}`, drupalRules: `Regras do ${common.drupal}`, enableDrupalRules: `${common.enable} regras específicas do ${common.drupal}`, magentoRules: `Regras do ${common.magento}`, enableMagentoRules: `${common.enable} regras específicas do ${common.magento}`, joomlaRules: `Regras do ${common.joomla}`, enableJoomlaRules: `${common.enable} regras específicas do ${common.joomla}`, phpServer: `Servidor ${common.php}`, phpBackupServer: `Servidor de backup ${common.php}`, tcp: 'TCP', hhvmSocket: 'Socket HHVM', php70Socket: 'Socket 7.0', php71Socket: 'Socket 7.1', php72Socket: 'Socket 7.2', php73Socket: 'Socket 7.3', php74Socket: 'Socket 7.4', php80Socket: 'Socket 8.0', php81Socket: 'Socket 8.1', php82Socket: 'Socket 8.2', phpSocket: 'Socket PHP', custom: 'Custom', // TODO: translate disabled: 'Desabilitado', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/presets.js ================================================ /* Copyright 2020 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: 'Predefinições', itLooksLikeYouCustomisedTheConfig: 'Parece que você personalizou a configuração para este domínio. A escolha de uma nova predefinição pode redefinir ou alterar algumas das configurações que você personalizou.', frontend: 'Frontend', nodeJs: 'Node.js', singlePageApplication: 'Aplicação de página única', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `O ${common.python} está desabilitado.`, pythonCannotBeEnabledWithReverseProxy: `O ${common.python} não pode ser habilitado enquanto o proxy reverso estiver habilitado.`, pythonCannotBeEnabledWithPhp: `O ${common.python} não pode ser habilitado enquanto o ${common.php} estiver habilitado.`, enablePython: `${common.enable} ${common.python}`, djangoRules: `Regras do ${common.django}`, enableDjangoRules: `${common.enable} regras específicas do ${common.django}`, }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/restrict.js ================================================ /* Copyright 2020 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: 'desabilitar para este domínio', responseCode: 'Código de resposta', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `O ${common.reverseProxy} está desabilitado.`, reverseProxyCannotBeEnabledWithPhp: `O ${common.reverseProxy} não pode ser habilitado enquanto o ${common.php} estiver habilitado.`, reverseProxyCannotBeEnabledWithPython: `O ${common.reverseProxy} não pode ser habilitado enquanto o ${common.python} estiver habilitado.`, enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'Roteamento alternativo', fallbackRoutingPhpPath: `Caminho para roteamento alternativo ${common.php}`, legacyPhpRouting: `Roteamento ${common.php} legado`, enableLegacyRouting: `${common.enable} roteamento legado`, routing: 'Roteamento', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/domain_sections/server.js ================================================ /* Copyright 2020 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: 'Domínio', documentRoot: 'Raiz dos documentos', oneOrMoreOtherDomainsAreAlsoNamed: 'Um ou mais outros domínios também são nomeados', thisWillCauseIssuesWithConfigGeneration: 'Isso causará problemas com a geração da configuração.', wwwSubdomain: 'Subdomínio www', cdnSubdomain: 'Subdomínio CDN', redirectSubdomains: 'Redirecionar subdomínios', server: 'Servidor', listen: 'escutar', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/footer.js ================================================ /* Copyright 2020 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: 'Voltar ao topo', thisToolIs: 'Esta ferramenta é', openSourceOnGitHub: 'de código aberto no GitHub', underThe: 'sob a', mit: 'licença MIT', license: '!', weWelcomeFeedbackAndContributions: 'Agradecemos comentários e contribuições.', originallyCreatedBy: 'Originalmente criado por', balintSzekeres: 'Bálint Szekeres', maintainedBy: 'mantido por', digitalOcean: 'DigitalOcean', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, applyDockerTweaks: `Aplicar ajustes do ${docker}`, applyDockerTweaksForNginx: `Aplicar ajustes de configuração para executar o ${common.nginx} com ${docker}`, applyDockerTweaksExplainer: `Atualiza o usuário ${common.nginx} para ser nginx e o pid para /var/run/nginx.pid`, includeDockerfile: `Incluir o ${dockerfile} para executar o ${common.nginx} com ${docker}`, includeDockerCompose: `Incluir o docker-compose para executar o ${common.nginx} com docker-compose`, }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `Perfil ${common.ssl}`, httpsMustBeEnabledOnOneSite: `O ${common.https} deve estar habilitado em pelo menos um site para definir as configurações globais de ${common.https}.`, portReuse: 'Reuseport', // TODO: translate enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, // TODO: translate ocspDnsResolvers: 'Resolvedores de DNS OCSP', cloudflareResolver: 'Resolvedor Cloudflare', googlePublicDns: 'DNS público do Google', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `Diretório raiz do ${common.letsEncrypt}`, letsEncryptCertRoot: `Diretório de certificado do ${common.letsEncrypt}`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, ipv4Only: `${ipv4} apenas`, ipv6Only: `${ipv6} apenas`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} erro de arquivo não encontrado ao fazer login`, logformat: 'log_format', level: 'logging level', // TODO: translate enableCloudflare: 'adicionar cabeçalhos de solicitação Cloudflare ao formato de log padrão', 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', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `Diretório de configuração do ${common.nginx}`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate enableDisableHtmlCaching: 'disable HTML caching', // TODO: translate gzipCompression: 'Compressão Gzip', enableGzipCompression: `${common.enable} compressão gzip`, brotliCompression: 'Compressão Brotli', enableBrotliCompression: `${common.enable} compressão brotli`, brotliIsANonStandardModule: "Brotli isn't a standard NGINX module, check the ", // TODO: translate brotliGoogleNgxBrotliProject: 'Google ngx_brotli project', // TODO: translate brotliForBuildingNginxWithBrotli: ' for how to build NGINX with Brotli!', // TODO: translate expirationForAssets: 'Expiração de ativos', expirationForMedia: 'Expiração de mídia', expirationForSvgs: 'Expiração de SVGs', expirationForFonts: 'Expiração de fontes', performance: 'Desempenho', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `Servidor ${common.python}`, pythonMustBeEnabledOnOneSite: `O ${common.python} deve estar habilitado em pelo menos um site para definir as configurações globais do ${common.python}.`, }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; // TODO: translate export default { reverseProxyMustBeEnabledOnOneSite: `O ${common.reverseProxy} deve estar habilitado em pelo menos um site para definir as configurações globais do ${common.reverseProxyLower}.`, seconds: 'segundos', passOn: `${legacyXForwarded} passed on`, // TODO: translate remove: `${legacyXForwarded} actively removed`, // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Ao utilizar o ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; é frequentemente exigido na Política de Segurança de Conteúdo para permitir que o painel de administração funcione corretamente.`, security: 'Segurança', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: 'Estrutura modularizada', enableModularizedConfigFiles: `${common.enable} arquivos de configuração modularizada`, symlinkVhost: 'Symlink para vhost', enableSymLinksFrom: `${common.enable} symlinks de`, to: 'para', shareConfiguration: 'Compartilhar configuração', resetConfiguration: 'Redefinir configuração', resetGlobalConfig: 'Redefinir configuração global', resetAllDomains: 'Redefinir todos os domínios', removeAllDomains: 'Remover todos os domínios', resetAllDomainsConfig: 'Redefinir todas as configurações de domínios', resetDomainConfig: 'Redefinir configuração de domínio', removeDomain: 'Remover domínio', yesImSure: 'Sim, tenho certeza', noCancel: 'Não, cancelar', tools: 'Ferramentas', resetGlobalConfigBody: 'Tem certeza de que deseja redefinir todas as opções de configuração na seção de configuração global?', resetAllDomainsConfigBody: 'Tem certeza de que deseja redefinir a configuração de TODOS os domínios?', removeAllDomainsBody: 'Tem certeza de que deseja remover TODAS as configurações de domínio?', areYouSureYouWantToResetAllConfigurationOptionsForThe: 'Tem certeza de que deseja redefinir todas as opções de configuração para o', domain: 'domínio?', areYouSureYouWantToRemoveThe: 'Tem certeza de que deseja remover a ', domainConfiguration: 'configuração do domínio?', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/setup.js ================================================ /* Copyright 2020 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: 'Baixar a configuração', copyBase64: 'Cópia Base64', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `Comente as diretivas relacionadas ao ${common.ssl} na configuração:`, sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, // TODO: translate reloadYourNginxServer: `Recarregue seu servidor ${common.nginx}:`, obtainSslCertificatesFromLetsEncrypt: `Obtenha certificados ${common.ssl} de ${common.letsEncrypt} usando o ${certbot}:`, uncommentSslDirectivesInConfiguration: `Descomente as diretivas relacionadas ao ${common.ssl} na configuração:`, configureCertbotToReloadNginxOnCertificateRenewal: `Configure o ${certbot} para recarregar o ${common.nginx} quando ele renovar certificados com sucesso:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `O ${certbot} não precisa ser definido para sua configuração ${common.nginx}.`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: 'Baixe a configuração gerada:', andUploadItToYourServers: 'e carregue-a para o', directory: 'diretórioi do seu servidor.', or: 'ou, ', copyBase64StringOfCompressedConfig: 'Copie uma string base64 da configuração compactado', pasteItInYourServersCommandLineAndExecute: ', cole-a na linha de comando do seu servidor e execute-a.', navigateToYourNginxConfigurationDirectoryOnYourServer: `Navegue até o diretório de configuração do ${common.nginx} em seu servidor:`, createABackupOfYourCurrentNginxConfiguration: `Crie um backup da sua configuração atual do ${common.nginx}:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'Extraia o novo arquivo de configuração compactado usando tar:', download: 'Baixar', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: 'Vamos colocar no ar!', reloadNginxToLoadInYourNewConfiguration: `Recarregue o ${common.nginx} para carregar a sua nova configuração:`, goLive: 'Está no ar!', }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/pt-br/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Gere chaves Diffie-Hellman executando este comando em seu servidor:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `Crie um diretório comum ACME-challenge (para o ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `Nenhuma etapa adicional é necessária para configurar o ${common.ssl} para a sua configuração ${common.nginx}.`, sslInit: `${common.ssl} init`, }; ================================================ FILE: src/nginxconfig/i18n/ru/common.js ================================================ /* Copyright 2021 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: 'Путь', }; ================================================ FILE: src/nginxconfig/i18n/ru/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/ru/languages.js ================================================ /* 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: 'Фарси', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}Config`, description: `Самый простой способ настроить производительный, безопасный и стабильный ${common.nginx} сервер.`, singleColumnMode: 'Одноколоночный режим', splitColumnMode: 'Режим разделения столбца', perWebsiteConfig: 'Конфигурация для каждого сайта', addSite: 'Добавить сайт', globalConfig: 'Глобальная конфигурация', setup: 'Настройка', configFiles: 'Файлы конфигурации', copied: 'Скопировано', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/callouts/contribute.js ================================================ /* Copyright 2021 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', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/callouts/droplet.js ================================================ /* Copyright 2021 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: 'Попробуйте LEMP Droplet от DigitalOcean с NGINX', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/https.js ================================================ /* 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.js'; 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} Strict Transport Security, требующая HTTPS соединения`, enableIncludeSubDomains: `${common.enable} includeSubDomains директиву, требующая HTTPS соединения для ВСЕХ поддоменов`, enablePreload: `${common.enable} preload директиву, указывающая браузерам всегда устанавливать только HTTPS-соединения`, certificationType: 'Тип сертификации', customCertificate: 'Другой сертификат', letsEncryptEmail: `${common.letsEncrypt} email`, http3IsANonStandardModule: 'HTTP/3 не является стандартным модулем NGINX, ознакомьтесь с ', http3NginxQuicReadme: 'readme NGINX QUIC', http3OrThe: ' или с ', http3CloudflareQuicheProject: 'проектом Cloudflare quiche', http3ForBuildingNginxWithHttp3: ' чтобы узнать как собрать NGINX с HTTP/3!', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: 'по домену', enableForThisDomain: `${common.enable} для этого домена`, arguments: 'arguments', // TODO: translate level: 'logging level', // TODO: translate forRedirects: 'for redirects', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/onion.js ================================================ /* Copyright 2021 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: `Укажите расположение ${onion}, чтобы задать заголовок Onion-Location для Вашего сайта.`, letsVisitorsKnownOnionServicesIsAvailable: `Это позволит узнать посетителям, что у Вашего сайта есть ${onion}-версия, доступная в браузере Tor.`, learnMoreAboutOnionServices: `Узнайте больше об ${onion}`, onionLocationExpectedToEndWithOnion: `Адреса ${onion} обычно оканчиваются на \`.onion\`.`, }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/php.js ================================================ /* 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.js'; 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: 'Выключено', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/presets.js ================================================ /* Copyright 2021 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: 'Одностраничное приложение', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/python.js ================================================ /* 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.js'; 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}-специфичные правила`, }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/restrict.js ================================================ /* Copyright 2021 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: 'Код ответа', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} выключено.`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} не может быть включен, пока включен ${common.php}.`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} не может быть включен, пока включен ${common.python}.`, enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: 'Fallback маршрутизация', fallbackRoutingPhpPath: `Путь к Fallback ${common.php}`, legacyPhpRouting: `Устаревшая маршрутизация ${common.php}`, enableLegacyRouting: `${common.enable} устаревшую маршрутизацию`, routing: 'Маршрутизация', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/domain_sections/server.js ================================================ /* Copyright 2021 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: 'Слушать от адреса', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/footer.js ================================================ /* Copyright 2021 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', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, 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`, }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `${common.ssl} Профиль`, httpsMustBeEnabledOnOneSite: `${common.https} должен быть включен хотя бы на одном сайте, чтобы сконфигурировать глобальные ${common.https} настройки.`, portReuse: 'Reuseport', enableReuseOfPort: `${common.enable} reuseport чтобы создавать отдельный слушающий сокет для каждого рабочего процесса`, ocspDnsResolvers: 'OCSP DNS Преобразователи', cloudflareResolver: 'Cloudflare Преобразователь', googlePublicDns: 'Публичные Google DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `Директория ${common.letsEncrypt}`, letsEncryptCertRoot: `Директория сертификата ${common.letsEncrypt}`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, ipv4Only: `только ${ipv4}`, ipv6Only: `только ${ipv6}`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} логирование ошибок для файлов, которые не были найдены при запросе`, logformat: 'log_format', level: 'logging level', // TODO: translate 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', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `Директория конфигурации ${common.nginx}`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate enableDisableHtmlCaching: 'disable HTML caching', // TODO: translate gzipCompression: 'Gzip сжатие', enableGzipCompression: `${common.enable} gzip сжатие`, brotliCompression: 'Brotli сжатие', enableBrotliCompression: `${common.enable} brotli сжатие`, brotliIsANonStandardModule: "Brotli isn't a standard NGINX module, check the ", // TODO: translate brotliGoogleNgxBrotliProject: 'Google ngx_brotli project', // TODO: translate brotliForBuildingNginxWithBrotli: ' for how to build NGINX with Brotli!', // TODO: translate expirationForAssets: 'Истечение срока для ассетов', expirationForMedia: 'Истечение срока для медиа файлов', expirationForSvgs: 'Истечение срока для SVG файлов', expirationForFonts: 'Истечение срока для шрифтов', performance: 'Производительность', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `${common.python} сервер`, pythonMustBeEnabledOnOneSite: `${common.python} должен быть включен как минимум на одном сайте, чтобы сконфигурировать глобальные настройки ${common.python}.`, }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; // TODO: translate export default { reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} должен быть включен как минимум на одном сайте, чтобы сконфигурировать глобальные настройки ${common.reverseProxyLower}.`, seconds: 'секунд', passOn: `${legacyXForwarded} passed on`, // TODO: translate remove: `${legacyXForwarded} actively removed`, // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Во время использования ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; часто требуется в Content Security Policy, чтобы панель администратора работала исправно.`, security: 'Безопасность', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: 'Модульная структура', enableModularizedConfigFiles: `${common.enable} модульную структуру для файлов конфигурации`, symlinkVhost: 'Symlink vhost', enableSymLinksFrom: `${common.enable} symlinks из`, to: 'в', shareConfiguration: 'Поделиться конфигурацией', resetConfiguration: 'Сбросить конфигурацию', resetGlobalConfig: 'Сбросить глобальную конфигурацию', resetAllDomains: 'Сбросить все домены', removeAllDomains: 'Удалить все домены', resetAllDomainsConfig: 'Сбросить конфигурации всех доменов', resetDomainConfig: 'Сбросить конфигурацию домена', removeDomain: 'Удалить домен', yesImSure: 'Да, я уверен', noCancel: 'Нет, отменить', tools: 'Инструменты', resetGlobalConfigBody: 'Вы уверены, что хотите сбросить все параметры конфигурации в разделе глобальной конфигурации?', resetAllDomainsConfigBody: 'Вы уверены, что хотите сбросить конфигурацию ВСЕХ доменов?', removeAllDomainsBody: 'Вы действительно хотите удалить ВСЕ конфигурации домена?', areYouSureYouWantToResetAllConfigurationOptionsForThe: 'Вы действительно хотите сбросить все параметры конфигурации для', domain: 'домена?', areYouSureYouWantToRemoveThe: 'Вы уверены, что желаете удалить ', domainConfiguration: 'конфигурацию домена?', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/setup.js ================================================ /* Copyright 2021 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', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `Закомментируйте директивы, связанные с ${common.ssl} в конфигурации:`, sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, // TODO: translate reloadYourNginxServer: `Перезагрузите свой ${common.nginx} сервер:`, obtainSslCertificatesFromLetsEncrypt: `Получите ${common.ssl} сертификат ${common.letsEncrypt} используя ${certbot}:`, uncommentSslDirectivesInConfiguration: `Раскомментируйте директивы, связанные с ${common.ssl} в конфигурации:`, configureCertbotToReloadNginxOnCertificateRenewal: `Настройте ${certbot}, чтобы перезагрузить ${common.nginx}, когда сертификаты успешно обновятся:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} не нужно настраивать для вашей ${common.nginx} конфигурации.`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: 'Скачать сгенерированную конфигурацию:', andUploadItToYourServers: 'и загрузить её на Ваш сервер', directory: 'директория.', or: 'или, ', copyBase64StringOfCompressedConfig: 'Скопируйте Base64 c сжатой конфигурацией', pasteItInYourServersCommandLineAndExecute: ', вставьте это в Вашу командную строку на сервере и запустите.', navigateToYourNginxConfigurationDirectoryOnYourServer: `Перейдите в папку конфигурации ${common.nginx} на Вашем сервере:`, createABackupOfYourCurrentNginxConfiguration: `Сделайте резервную копию Вашей нынешней ${common.nginx} конфигурации:`, extractTheNewCompressedConfigurationArchiveUsingTar: 'Извлеките архив с новой конфигурацией с помощью использованием tar:', download: 'Скачать', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: 'Время запуска!', reloadNginxToLoadInYourNewConfiguration: `Перезагрузите ${common.nginx}, чтобы запустить его с новой конфигурацией:`, goLive: 'Запустить!', }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/ru/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Сгенерируйте ключи Диффи-Хеллмана, запустив следующую команду на своем сервере:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `Создайте директорию хранения ACME-challenge (для ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `Больше ничего не требуется, чтобы настроить ${common.ssl} в Вашей ${common.nginx} конфигурации.`, sslInit: `${common.ssl} init`, }; ================================================ FILE: src/nginxconfig/i18n/setup.js ================================================ /* 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 { createI18n } from 'vue-i18n'; import { defaultPack, defaultPackData, toSep, availablePacks } from '../util/language_packs.js'; // Load in the full default pack const i18nPacks = {}; i18nPacks[defaultPack] = defaultPackData; const loadedI18nPacks = [defaultPack]; // Cache the i18n instance let i18n = null; export const getI18n = async () => { // Use cached if available if (i18n) return i18n; // Load in languages data from other packs // Use webpack magic to only build chunks for lang/languages.js // These are eagerly loaded by Webpack, so don't generate extra chunks, and return an already resolved Promise for (const availablePack of availablePacks) { if (availablePack === defaultPack) continue; if (i18nPacks[availablePack]) continue; const { default: languageData } = await import( /* webpackInclude: /i18n[\/\\][^\/\\]+[\/\\]languages\.js$/ */ /* webpackMode: "eager" */ `./${toSep(availablePack, '-')}/languages.js` ); i18nPacks[availablePack] = { languages: languageData }; } // Store and return the i18n instance with the loaded packs i18n = createI18n({ locale: defaultPack, fallbackLocale: defaultPack, messages: i18nPacks, }); return i18n; }; const loadLanguagePack = async (pack) => { // If same language, do nothing if (i18n.locale === pack) return; // If language already loaded, do nothing if (loadedI18nPacks.includes(pack)) return; // Load in the full pack // Use webpack magic to only build chunks for lang/index.js const { default: packData } = await import( /* webpackInclude: /i18n[\/\\][^\/\\]+[\/\\]index\.js$/ */ /* webpackMode: "lazy" */ `./${toSep(pack, '-')}/index.js` ); i18nPacks[pack] = packData; }; export const setLanguagePack = async (pack) => { // If i18n not loaded, do nothing if (!i18n) return; // Load the pack if not already loaded, and set it as active await loadLanguagePack(pack); i18n.global.locale = pack; }; ================================================ FILE: src/nginxconfig/i18n/verify.js ================================================ /* 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 { readdirSync, readFileSync } from 'fs'; import { join, sep } from 'path'; import { URL } from 'url'; import chalk from 'chalk'; import { defaultPack, availablePacks, toSep, fromSep } from '../util/language_packs.js'; import snakeToCamel from '../util/snake_to_camel.js'; // Recursively get all keys in a i18n pack object fragment const explore = (packFragment) => { const foundKeys = new Set(); for (const [key, value] of Object.entries(packFragment)) { // If this is an actual translation, store the key if (typeof value === 'string') { foundKeys.add(key); continue; } // Otherwise, assume this is another fragment and explore it recursively explore(packFragment[key]).forEach((exploreKey) => foundKeys.add(`${key}.${exploreKey}`)); } return foundKeys; }; // Recursively get all the files in a i18n pack directory const files = (directory) => { const foundFiles = new Set(); for (const dirent of readdirSync(new URL(`./${directory}`, import.meta.url), { withFileTypes: true, })) { const base = join(directory, dirent.name); // If this is a file, store it if (dirent.isFile()) { foundFiles.add(base); continue; } // If this is a directory, recurse if (dirent.isDirectory()) { files(base).forEach((recurseFile) => foundFiles.add(recurseFile)); } // Otherwise, ignore this } return foundFiles; }; // Get all the todo items in a file const todos = (file) => { const content = readFileSync(new URL(`./${file}`, import.meta.url), 'utf8'); const lines = content.split('\n'); const items = []; for (let i = 0; i < lines.length; i++) { const line = lines[i]; const match = line.match(/\/\/\s*todo([([].*?[)\]])?\s*:?\s*(.*)/i); if (match) items.push([i + 1, line, match[0], match[1], match[2]]); } return items; }; // Convert a pack file to a pack object key const fileToObject = (file) => file // Drop language pack prefix .split(sep) .slice(1) .join(sep) // Drop js extension .split('.') .slice(0, -1) .join('.') // Replace sep with period and use camelCase .split(sep) .map((dir) => snakeToCamel(dir)) .join('.'); const main = async () => { // Load all the packs in const packs = {}; const packDirectories = readdirSync(new URL('./', import.meta.url), { withFileTypes: true }) .filter((dirent) => dirent.isDirectory()) .map((dirent) => dirent.name); for (const packDirectory of packDirectories) packs[fromSep(packDirectory, '-')] = await import(`./${packDirectory}/index.js`).then( (pack) => pack.default, ); // Get all the keys for the default "source" language pack const defaultKeys = explore(packs[defaultPack]); // Track if we need to exit with an error let hadError = false; // Work through all the packs and compare to default for (const [pack, packData] of Object.entries(packs)) { console.log(chalk.underline(`Language pack \`${pack}\``)); // Get the base data const packKeys = explore(packData); const packFiles = files(toSep(pack, '-')); console.log( ` Found ${packKeys.size.toLocaleString()} keys, ${packFiles.size.toLocaleString()} files`, ); // Track all our errors and warnings const errors = [], warnings = []; // Get all the keys and the set differences const missingKeys = [...defaultKeys].filter((x) => !packKeys.has(x)); const extraKeys = [...packKeys].filter((x) => !defaultKeys.has(x)); // Missing keys and extra keys are errors missingKeys.forEach((key) => errors.push(`Missing key \`${key}\``)); extraKeys.forEach((key) => errors.push(`Unexpected key \`${key}\``)); // Get all the files in the pack directory const packKeyFiles = new Set( [...packFiles].filter((file) => file.split(sep).slice(-1)[0] !== 'index.js'), ); // Get the objects from the pack keys const packKeyObjects = new Set( [...packKeys].map((key) => key.split('.').slice(0, -1).join('.')), ); // Warn for any files that aren't used as pack objects [...packKeyFiles] .filter((file) => !packKeyObjects.has(fileToObject(file))) .forEach((file) => warnings.push(`Unused file \`${file}\``)); // Locate any todos in each file as a warning for (const file of packFiles) todos(file).forEach((todo) => warnings.push(`TODO in \`${file}\` on line ${todo[0]}`)); // Output the pack results if (warnings.length) for (const warning of warnings) console.warn(` ${chalk.yellow('warning')} ${warning}`); if (errors.length) for (const error of errors) console.error(` ${chalk.red('error')} ${error}`); if (!errors.length && !warnings.length) console.log(` ${chalk.green('No issues')}`); // If we had errors, script should exit 1 if (errors.length) hadError = true; // Linebreak before next pack or exit console.log(chalk.reset()); } // Check available language packs const packKeys = Object.keys(packs); const missingPacks = packKeys.filter((x) => !availablePacks.includes(x)); const extraPacks = availablePacks.filter((x) => !packKeys.includes(x)); // Missing packs and extra packs are errors missingPacks.forEach((pack) => console.error( `${chalk.red('error')} Language pack \`${pack}\` not included in \`availablePacks\``, ), ); extraPacks.forEach((pack) => console.error( `${chalk.red( 'error', )} Language pack \`${pack}\` included in \`availablePacks\` but not found`, ), ); if (missingPacks.length || extraPacks.length) hadError = true; // Exit 1 if we had errors if (hadError) process.exit(1); }; main() .then(() => {}) .catch((err) => { console.error(err); process.exit(1); }); ================================================ FILE: src/nginxconfig/i18n/zh-cn/common.js ================================================ /* Copyright 2020 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: '路径', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/languages.js ================================================ /* 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: '波斯语', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx} 配置`, description: `配置高性能、安全、稳定的${common.nginx}服务器的最简单方法。`, singleColumnMode: '垂直模式', splitColumnMode: '水平模式', perWebsiteConfig: '站点配置', addSite: '添加站点', globalConfig: '全局配置', setup: '使用配置', configFiles: '配置文件', copied: '已复制', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/callouts/contribute.js ================================================ /* Copyright 2021 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 中参与本项目', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/callouts/droplet.js ================================================ /* Copyright 2021 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: '试用已安装 NGINX 的 DigitalOcean LEMP Droplet。', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js ================================================ /* 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.js'; 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}HSTS(强制客户端、浏览器等使用 HTTPS 与服务器创建链接),需要HTTPS连接`, enableIncludeSubDomains: `${common.enable}includeSubDomains指令,HSTS对所有子域生效`, enablePreload: `${common.enable}preload指令, 强制客户端只可以使用https连接`, certificationType: '证书类型', customCertificate: '本地证书', letsEncryptEmail: `${common.letsEncrypt} 邮箱`, http3IsANonStandardModule: 'HTTP/3 并不是一个标准的 NGINX 模块, 请查看 ', http3NginxQuicReadme: 'NGINX QUIC 使用文档', http3OrThe: ' 或者 ', http3CloudflareQuicheProject: 'Cloudflare quiche 项目', http3ForBuildingNginxWithHttp3: ' 以构建支持 HTTP/3 的 NGINX!', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: '在此站点', enableForThisDomain: `为此站点${common.enable}`, arguments: '参数', level: '日志记录级别', forRedirects: '记录重定向', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/onion.js ================================================ /* Copyright 2020 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 = '洋葱'; export default { onion, onionLocation: `${onion}位置`, provideAnOnionLocationToSetOnionLocationHeader: '提供一个洋葱位置地址,为您的站点设置洋葱协议头。', letsVisitorsKnownOnionServicesIsAvailable: '这可以让访问者知道你的网站的洋葱服务版本可用于Tor浏览器。', learnMoreAboutOnionServices: '了解有关洋葱服务的更多信息', onionLocationExpectedToEndWithOnion: '洋葱位置地址通常以.onion结尾。', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `${common.php}已禁用。`, phpCannotBeEnabledWithReverseProxy: `${common.php}在启用${common.reverseProxy}时无法启用。`, 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 socket', php70Socket: '7.0 socket', php71Socket: '7.1 socket', php72Socket: '7.2 socket', php73Socket: '7.3 socket', php74Socket: '7.4 socket', php80Socket: '8.0 socket', php81Socket: '8.1 socket', php82Socket: '8.2 socket', phpSocket: 'PHP socket', custom: '自定义', disabled: '禁用', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/presets.js ================================================ /* Copyright 2020 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: '单页面应用', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `${common.python}已禁用。`, pythonCannotBeEnabledWithReverseProxy: `${common.python}在启用${common.reverseProxy}时无法启用。`, pythonCannotBeEnabledWithPhp: `${common.python}在启用${common.php}时无法启用。`, enablePython: `${common.enable} ${common.python}`, djangoRules: `${common.django} 规则`, enableDjangoRules: `${common.enable} ${common.django}专属规则`, }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/restrict.js ================================================ /* Copyright 2020 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: '响应代码', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy}已禁用。`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy}在启用${common.php}时无法启用。`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy}在启用${common.python}时无法启用。`, enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: '后备路由', fallbackRoutingPhpPath: `后备路由${common.php}路径`, legacyPhpRouting: `传统${common.php}路由`, enableLegacyRouting: `${common.enable}传统路由`, routing: '路由设置', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/domain_sections/server.js ================================================ /* Copyright 2020 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: '监听', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/footer.js ================================================ /* Copyright 2023 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', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} 编排服务`, applyDockerTweaks: `应用${docker}调整`, applyDockerTweaksForNginx: `为使用${docker}运行${common.nginx}进行配置调整。`, applyDockerTweaksExplainer: `将${common.nginx}用户更新为nginx,将pid更新为/var/run/nginx.pid`, includeDockerfile: `生成${dockerfile}运行${common.nginx}与${docker}`, includeDockerCompose: `生成docker-compose.yaml来运行${common.nginx} docker-compose`, }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `${common.ssl}配置`, httpsMustBeEnabledOnOneSite: `必须在至少一个站点上启用${common.https}才能配置全局${common.https}设置。`, portReuse: '端口重用', enableReuseOfPort: `${common.enable} 重用端口 为每个 NGINX Worker 单独生成一个监听套接字`, ocspDnsResolvers: 'OCSP DNS解析器', cloudflareResolver: 'Cloudflare解析器', googlePublicDns: '谷歌公共DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `${common.letsEncrypt} Web根目录`, letsEncryptCertRoot: `${common.letsEncrypt}证书目录`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, ipv4Only: `${ipv4}`, ipv6Only: `${ipv6}`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable}“文件未找到”错误日志:`, logformat: 'log_format', 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', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `${common.nginx}配置目录`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: '禁用 HTML 缓存', enableDisableHtmlCaching: '禁用 HTML 缓存', gzipCompression: 'Gzip 压缩', enableGzipCompression: `${common.enable} Gzip 压缩`, brotliCompression: 'Brotli 压缩', enableBrotliCompression: `${common.enable} Brotli 压缩`, brotliIsANonStandardModule: 'Brotli 并不是一个 standard NGINX 模块, 请查看 ', brotliGoogleNgxBrotliProject: 'Google ngx_brotli 项目', brotliForBuildingNginxWithBrotli: ' 以构建支持 Brotli 的 NGINX!', expirationForAssets: '资源有效期', expirationForMedia: '媒体资源有效期', expirationForSvgs: 'SVGs有效期', expirationForFonts: '字体有效期', performance: '性能', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `${common.python} 服务`, pythonMustBeEnabledOnOneSite: `必须在至少一个站点上启用${common.python}才能配置全局${common.python}设置。`, }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = '传统 X-Forwarded-* 请求头'; export default { reverseProxyMustBeEnabledOnOneSite: `必须在至少一个站点上启用${common.reverseProxy}才能配置全局${common.reverseProxy}设置。`, seconds: '秒', passOn: `转发 ${legacyXForwarded}`, remove: `自动删除 ${legacyXForwarded}`, }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `当使用${common.wordPress}时,script-src 'self' 'unsafe-inline' 'unsafe-eval'; 通常需要置于内容安全策略中,以确保管理面板的正常运行。`, security: '安全', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/global_sections/tools.js ================================================ /* 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.js'; export default { modularizedStructure: '模块化结构', enableModularizedConfigFiles: `${common.enable}模块化的配置文件`, symlinkVhost: '符号链接 vhost', enableSymLinksFrom: `${common.enable}符号链接`, to: '到', shareConfiguration: '分享配置', resetConfiguration: '重置配置', resetGlobalConfig: '重置全局配置', resetAllDomains: '重置所有站点', resetAllDomainsConfig: '重置所有站点', removeAllDomains: '删除所有站点', resetDomainConfig: '重置站点配置', removeDomain: '删除站点', yesImSure: '好的', noCancel: '取消', tools: '工具', resetGlobalConfigBody: '您确定要重置全局配置部分中的所有配置选项吗?', resetAllDomainsConfigBody: '您确定要重置所有站点的配置吗?', removeAllDomainsBody: '您确定要删除所有站点的配置吗?', areYouSureYouWantToResetAllConfigurationOptionsForThe: '您确定要重置', domain: '站点的所有配置选项吗?', areYouSureYouWantToRemoveThe: '你确定要删除', domainConfiguration: '的站点配置吗?', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/setup.js ================================================ /* Copyright 2020 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', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `注释掉配置中的${common.ssl}相关指令:`, sslOffDeprecationWarning: `此命令将添加一个临时的 ssl off 指令,以确保 ${common.ssl} 命令处于未启用状态。这可能会导致 ${common.nginx} 发出警告,但您可以忽略。一旦配置了 ${certbot},该命令将被移除。`, reloadYourNginxServer: `重新加载你的${common.nginx}服务器:`, obtainSslCertificatesFromLetsEncrypt: `使用${certbot}从 ${common.letsEncrypt} 获得${common.ssl}证书:`, uncommentSslDirectivesInConfiguration: `在配置中取消注释${common.ssl}相关指令:`, configureCertbotToReloadNginxOnCertificateRenewal: `配置${certbot},当${common.nginx}成功更新证书时重新加载:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot}不需要为您的${common.nginx}配置进行设置。 `, certbot, }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: '下载 生成的配置:', andUploadItToYourServers: '然后 上传 到你的服务器的', directory: '目录.', or: '或, ', copyBase64StringOfCompressedConfig: '复制压缩配置的base64字符串', pasteItInYourServersCommandLineAndExecute: ',将其粘贴到服务器的命令行并执行。', navigateToYourNginxConfigurationDirectoryOnYourServer: `进入你的 ${common.nginx}服务器上的配置目录:`, createABackupOfYourCurrentNginxConfiguration: `创建当前${common.nginx}配置的备份:`, extractTheNewCompressedConfigurationArchiveUsingTar: '使用tar解压新的压缩配置', download: '下载', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: '让我们开始吧!', reloadNginxToLoadInYourNewConfiguration: `重新加载${common.nginx}以载入新的配置:`, goLive: '上线!', }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/zh-cn/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: '在您的服务器上运行此命令生成Diffie-Hellman keys:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `创建一个通用的ACME-challenge目录(用于 ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `无需任何操作,即可为您的${common.nginx}完成${common.ssl}配置`, sslInit: `${common.ssl} 初始化`, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/common.js ================================================ /* Copyright 2022 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: '反向 Proxy', reverseProxyLower: '反向 Proxy', restrict: '限制', path: '路徑', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/index.js ================================================ /* 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.js'; import languages from './languages.js'; import templates from './templates/index.js'; export default { common, languages, templates }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/languages.js ================================================ /* 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: '波斯語', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/app.js ================================================ /* 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.js'; export default { title: `${common.nginx}Config`, description: `設定高效能、安全、穩定的 ${common.nginx} 伺服器最簡單的方法。`, singleColumnMode: '單欄模式', splitColumnMode: '雙欄模式', perWebsiteConfig: '網站設定', addSite: '新增網站', globalConfig: '全域設定', setup: '使用設定', configFiles: '設定檔', copied: '已複製', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/callouts/contribute.js ================================================ /* Copyright 2022 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 上共襄盛舉', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/callouts/droplet.js ================================================ /* Copyright 2022 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: '試試 DigitalOcean 推出的 LEMP Droplet,適用於 NGINX。', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/callouts/index.js ================================================ /* 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.js'; import contribute from './contribute.js'; export default { droplet, contribute }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js ================================================ /* 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.js'; 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} HSTS(強制安全傳輸),需要 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: 'Cloudflare quiche 專案', http3ForBuildingNginxWithHttp3: '以了解如何建置支援 HTTP/3 的 NGINX !', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import php from './php.js'; import presets from './presets.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import routing from './routing.js'; import server from './server.js'; import restrict from './restrict.js'; import onion from './onion.js'; export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js ================================================ /* 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.js'; export default { byDomain: '在此網域', enableForThisDomain: `為此網域${common.enable}`, arguments: 'arguments', // TODO: translate level: 'logging level', // TODO: translate forRedirects: 'for redirects', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/onion.js ================================================ /* Copyright 2022 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 = '洋蔥'; export default { onion, onionLocation: `${onion}位置`, provideAnOnionLocationToSetOnionLocationHeader: '提供一個洋蔥位址,來為您的網站設定 Onion-Location 標頭。', letsVisitorsKnownOnionServicesIsAvailable: '這可以讓訪客知道您的網站有可用於 Tor 瀏覽器的洋蔥服務版本。', learnMoreAboutOnionServices: '瞭解有關洋蔥服務的更多資訊', onionLocationExpectedToEndWithOnion: '洋蔥位址通常以 .onion 結尾。', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js ================================================ /* 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.js'; export default { phpIsDisabled: `${common.php} 已停用。`, phpCannotBeEnabledWithReverseProxy: `${common.php} 無法與${common.reverseProxy} 同時啟用。`, 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: '停用', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/presets.js ================================================ /* Copyright 2022 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: 'SPA', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js ================================================ /* 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.js'; export default { pythonIsDisabled: `${common.python} 已停用。`, pythonCannotBeEnabledWithReverseProxy: `${common.python} 無法與${common.reverseProxy} 同時啟用。`, pythonCannotBeEnabledWithPhp: `${common.python} 無法與 ${common.php} 同時啟用。`, enablePython: `${common.enable} ${common.python}`, djangoRules: `${common.django} 規則`, enableDjangoRules: `${common.enable} ${common.django} 專屬規則`, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/restrict.js ================================================ /* Copyright 2022 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: '響應程式碼', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js ================================================ /* 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.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} 已停用。`, reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} 在啟用 ${common.php} 時無法啟用。`, reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} 在啟用 ${common.python} 時無法啟用。`, enableReverseProxy: `${common.enable}${common.reverseProxyLower}`, proxyHostHeader: 'Proxy Host header', // TODO: translate }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js ================================================ /* 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.js'; export default { fallbackRouting: '後援路由', fallbackRoutingPhpPath: `後援路由 ${common.php} 路徑`, legacyPhpRouting: `傳統 ${common.php} 路由`, enableLegacyRouting: `${common.enable}傳統路由`, routing: '路由設定', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/domain_sections/server.js ================================================ /* Copyright 2022 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: '監聽', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/footer.js ================================================ /* Copyright 2022 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', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js ================================================ /* 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.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; export default { docker, dockerfile, dockerCompose: `${docker} Compose`, applyDockerTweaks: `套用 ${docker} 調校`, applyDockerTweaksForNginx: `套用在 ${docker} 中執行 ${common.nginx} 所需的設定調校`, applyDockerTweaksExplainer: `將 ${common.nginx} 使用者設為 nginx,將 pid 設為/var/run/nginx.pid`, includeDockerfile: `產生 ${dockerfile} 以使用 ${docker} 來執行 ${common.nginx}`, includeDockerCompose: `產生 docker-compose 以使用 docker-compose 來執行 ${common.nginx}`, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js ================================================ /* 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.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; const ipv6 = 'IPv6'; export default { sslProfile: `${common.ssl} 設定檔`, httpsMustBeEnabledOnOneSite: `必須在至少一個網站上啟用 ${common.https} 才能調整全域 ${common.https} 設定。`, portReuse: '連接埠複用', enableReuseOfPort: `${common.enable}連接埠複用來為每個 worker 產生監聽通訊端`, ocspDnsResolvers: 'OCSP DNS 解析器', cloudflareResolver: 'Cloudflare 解析器', googlePublicDns: 'Google 公共 DNS', openDns: 'OpenDNS', quad9: 'Quad9', verisign: 'Verisign', letsEncryptWebroot: `${common.letsEncrypt} Web 根目錄`, letsEncryptCertRoot: `${common.letsEncrypt} 憑證目錄`, mozillaModern: `${mozilla} Modern`, mozillaIntermediate: `${mozilla} Intermediate`, mozillaOld: `${mozilla} Old`, ipv4Only: `僅 ${ipv4}`, ipv6Only: `僅 ${ipv6}`, ipv4AndIpv6: `${ipv4} & ${ipv6}`, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/index.js ================================================ /* 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.js'; import logging from './logging.js'; import nginx from './nginx.js'; import performance from './performance.js'; import python from './python.js'; import reverseProxy from './reverse_proxy.js'; import security from './security.js'; import tools from './tools.js'; import docker from './docker.js'; export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js ================================================ /* 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.js'; export default { enableFileNotFoundErrorLogging: `${common.enable}「找不到檔案」錯誤日誌:`, logformat: 'log_format', level: 'logging level', // TODO: translate 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', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js ================================================ /* 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.js'; export default { nginxConfigDirectory: `${common.nginx} 設定目錄`, mb: 'MB', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js ================================================ /* 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.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate enableDisableHtmlCaching: 'disable HTML caching', // TODO: translate gzipCompression: 'Gzip 壓縮', enableGzipCompression: `${common.enable} Gzip 壓縮`, brotliCompression: 'Brotli 壓縮', enableBrotliCompression: `${common.enable} brotli 壓縮`, brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模組,請參考 ', brotliGoogleNgxBrotliProject: 'Google 的 ngx_brotli 專案', brotliForBuildingNginxWithBrotli: ' 來了解如何建置支援 Brotli 的 NGINX!', expirationForAssets: '資源有效期', expirationForMedia: '媒體資源有效期', expirationForSvgs: 'SVG 有效期', expirationForFonts: '字體有效期', performance: '效能', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js ================================================ /* 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.js'; export default { pythonServer: `${common.python} 服務`, pythonMustBeEnabledOnOneSite: `必須在至少一個網站上啟用 ${common.python} 才能調整全域 ${common.python} 設定。`, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js ================================================ /* 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.js'; const legacyXForwarded = '傳統 X-Forwarded-* 標頭'; export default { reverseProxyMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.reverseProxy} 才能調整全域${common.reverseProxy} 設定。`, seconds: '秒', passOn: `轉發${legacyXForwarded}`, remove: `主動刪除${legacyXForwarded}`, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js ================================================ /* 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.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `使用 ${common.wordPress} 時,通常需在 CSP 中加入 script-src 'self' 'unsafe-inline' 'unsafe-eval';,以使管理面板正常運作。`, security: '安全性', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js ================================================ /* 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.js'; 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: '的網域設定嗎?', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/index.js ================================================ /* 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.js'; import setup from './setup.js'; import footer from './footer.js'; import domainSections from './domain_sections/index.js'; import globalSections from './global_sections/index.js'; import setupSections from './setup_sections/index.js'; import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/setup.js ================================================ /* Copyright 2022 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', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js ================================================ /* 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.js'; const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `註解掉設定中的 ${common.ssl} 相關指令:`, sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, // TODO: translate reloadYourNginxServer: `重新載入您的 ${common.nginx} 伺服器:`, obtainSslCertificatesFromLetsEncrypt: `使用 ${certbot} 從 ${common.letsEncrypt} 取得 ${common.ssl} 憑證:`, uncommentSslDirectivesInConfiguration: `在設定中取消註解 ${common.ssl} 相關指令:`, configureCertbotToReloadNginxOnCertificateRenewal: `設定 ${certbot},當 ${common.nginx} 成功更新憑證時重新載入:`, certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} 無須設定。`, certbot, }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js ================================================ /* 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.js'; export default { downloadTheGeneratedConfig: '下載產生的設定:', andUploadItToYourServers: '然後上傳到您的伺服器的', directory: '目錄。', or: '或', copyBase64StringOfCompressedConfig: '複製壓縮過的設定的 base64 字串', pasteItInYourServersCommandLineAndExecute: ',將其貼到伺服器的命令列並執行。', navigateToYourNginxConfigurationDirectoryOnYourServer: `前往您的 ${common.nginx} 伺服器的設定資料夾:`, createABackupOfYourCurrentNginxConfiguration: `建立${common.nginx} 目前設定的備份:`, extractTheNewCompressedConfigurationArchiveUsingTar: '使用 tar 解壓縮新的設定:', download: '下載', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js ================================================ /* 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.js'; export default { letsGoLive: '好戲上場!', reloadNginxToLoadInYourNewConfiguration: `重新載入 ${common.nginx} 以套用新設定:`, goLive: '上線!', }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/setup_sections/index.js ================================================ /* 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.js'; import download from './download.js'; import goLive from './go_live.js'; import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; ================================================ FILE: src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js ================================================ /* 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.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: '在您的伺服器上執行此命令來產生迪菲-赫爾曼密鑰:', createACommonAcmeChallengeDirectoryForLetsEncrypt: `建立一個通用的 ACME-challenge 目錄(用於 ${common.letsEncrypt}):`, noAdditionalStepsAreNeededToSetUpSslForNginx: `您的 ${common.nginx} 設定已完成 ${common.ssl} 設定,無須任何操作。`, sslInit: `${common.ssl} 初始化`, }; ================================================ FILE: src/nginxconfig/mount.js ================================================ /* 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. */ // Load in the app import './scss/style.scss'; import 'vue-select/dist/vue-select.css'; import { createApp } from 'vue'; import './util/prism_bundle.js'; import { getI18n } from './i18n/setup.js'; import App from './templates/app.vue'; // Load the i18n languages and run the app getI18n().then((i18n) => { const app = createApp(App); app.use(i18n); app.mount('#app'); }); ================================================ FILE: src/nginxconfig/scss/_callout.scss ================================================ /* Copyright 2022 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. */ .callout { background: $callout; border-radius: $border-radius; margin: 2rem .5rem 1rem; padding: 1.875rem 1.875rem 1.5rem; transition: opacity $transition; &.floating { bottom: 0; box-shadow: inset 0 0 0 $border-size $border; max-width: calc(100% - 1rem); position: fixed; right: 0; width: 22rem; z-index: 100; .close { display: flex; flex-flow: row nowrap; margin: 0 0 1.25rem; p { flex-grow: 1; margin: 0 .5rem 0 0; } a { color: $muted; margin: 0 .5rem; text-decoration: none; transition: color $transition; &:hover { color: $text; } } } p { @include font-regular; } .button { display: block; height: auto; line-height: 1.5rem; min-height: 3rem; padding: .75rem 0; white-space: normal; } } p { @include font-medium; font-size: 15px; margin: 0; text-align: left; a { border-bottom: $border-size dotted $primary; padding: 0 0 $border-size; text-decoration: none; &:hover { border-bottom-color: $primary-hover; } + i { margin: 0 0 0 .25rem; } } } } ================================================ FILE: src/nginxconfig/scss/_code.scss ================================================ /* Copyright 2023 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. */ pre { &[class*="language-"] { padding: .5rem 1rem; code { &[class*="language-"] { &, .token { font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13.6px; font-weight: normal; line-height: 1.4em; } // Fix Bulma & DO Prism styles interfering with default Prism .token { &.number, &.tag, &.entity, &.operator, &.url { background: transparent; border-radius: initial; display: initial; font-size: inherit; margin: initial; padding: initial; text-align: initial; vertical-align: initial; } } } } } } .code-toolbar { > .toolbar { right: calc(.2em + 16px); > .toolbar-item { > button { background: rgba($input, .9); border: 1px solid $input-border; color: rgba($input-border, .75); cursor: pointer; transition: color $transition, background $transition; &:hover, &:focus { background: $input; color: $input-border; } } } } } mark { background: rgba($highlight, .45); color: inherit; display: inline-block; } ================================================ FILE: src/nginxconfig/scss/_columns.scss ================================================ /* Copyright 2023 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. */ .columns { .column-scroll-y { overflow-y: auto; height: 100vh; } } ================================================ FILE: src/nginxconfig/scss/_fields.scss ================================================ /* Copyright 2022 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. */ .field-row { display: flex; flex-flow: row wrap; margin: 0 -.5rem; .field { flex-grow: 1; margin: 0 .5rem; text-align: left; } + .field-row, + .field { margin-top: 1rem; } } .field { &.is-horizontal { align-items: center; &.is-aligned-top { align-items: flex-start; > .field-label { &.has-margin-top { margin-top: .75rem; } &.has-small-margin-top { margin-top: .25rem; } } > p { @include font-medium; color: $dark-grey; font-size: 14px; margin: 0 .5rem; } } + .control { margin-top: .5rem; } } &.is-grouped { > .control { &:last-child { margin: .25rem 0 0; } &:not(:last-child) { margin: .25rem .75rem 0 0; } } } .is-changed { input { &:not(.vs__search) { // stylelint-disable-line selector-class-pattern &, &:focus { background: rgba($highlight, .35); } } } .checkbox, .radio, .text { background: rgba($highlight, .35); } label { &.text { padding: .25rem .5rem; } } .v-select { .vs__dropdown-toggle { // stylelint-disable-line selector-class-pattern background: rgba($highlight, .35); } } } label { @include font-medium; color: $dark-blue; font-size: 1rem; &.text { border-radius: $border-radius; color: $dark-grey; display: inline-block; font-size: 14px; padding: 0 .5rem; &.message { padding: 0; .message-body { display: inline-block; } } .fa-external-link-alt { margin: 0 0 0 .25rem; } } } .button { &.is-static { background: $panel; border: 1px solid $border; color: $dark-grey; padding: 0 ($margin * 1.5); } &.is-tiny { font-size: 14px; height: auto; line-height: normal; margin: .2rem .25rem; padding: ($margin * .5) ($margin * .75); } } .control { &:not(.is-expanded) { + .control { &:not(.is-expanded) { margin-top: .25rem; } } } input.is-danger { border-color: $danger; } } } .field-body { &.is-vertical { flex-direction: column; > .field { &:not(:last-child) { margin-bottom: .75rem; } } } } .checkbox, .radio { border-radius: $border-radius; padding: .25rem .5rem; .pretty { line-height: 1.25; white-space: initial; &.p-icon { font-size: 18px; margin: 0; .state { .icon { top: 50%; transform: translateY(-50%); &::before { color: $panel; font-size: 14px; } } label { @include font-medium; color: $dark-grey; font-size: 14px; padding-left: calc(#{$margin * .5} + 1.5em); text-indent: initial; &::before, &::after { font-size: 18px; top: 50%; transform: translateY(-50%); } } } } } } ================================================ FILE: src/nginxconfig/scss/_files.scss ================================================ /* Copyright 2020 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. */ .files { h3 { overflow-wrap: break-word; } } ================================================ FILE: src/nginxconfig/scss/_footer.scss ================================================ /* Copyright 2020 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. */ .footer { .container { p { &:not(:first-child) { + p { margin-top: 0; } } i { &[class^="fa"] { margin: 0 0 0 .25rem; } } } } } ================================================ FILE: src/nginxconfig/scss/_header.scss ================================================ /* Copyright 2021 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. */ .header { padding: ($margin * 2) $margin ($margin * 1.5); @media (min-width: $breakpoint) { padding: ($margin * 3.75) 0 ($margin * .5); } .container { h3 { @include font-medium; } form { .input-container { margin: 0; } .buttons { > * { margin: 0 0 1rem; } } } } } ================================================ FILE: src/nginxconfig/scss/_modals.scss ================================================ /* Copyright 2020 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. */ .modal { .modal-card { text-align: left; .button { + .button { margin: 0 0 0 .5rem; } } } } ================================================ FILE: src/nginxconfig/scss/_panel.scss ================================================ /* Copyright 2022 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. */ .panel { margin-top: 0; max-width: calc(100% - 1rem); padding: 1.5rem 0 2rem; text-align: left; width: calc(100% - 1rem); // The presets panel has a custom header with a dropdown indicator &.presets { .header-group, .buttons-group { display: flex; flex-flow: row wrap; justify-content: space-between; } .header-group { h3 { margin: 0; } .button { &.is-tiny { font-size: 20px; } } } .message, .buttons-group { margin: 1rem 0 0; } .buttons-group { align-items: center; .button { margin: 0 .25rem .5rem; } } } .container { padding: 0 1.5rem; } .tabs { ul { padding: 0 1rem; } } // Custom navigation buttons bottom right of the panels .navigation-buttons { align-items: center; display: flex; flex-direction: row; justify-content: flex-end; margin: 1.5rem 1.5rem 0; .button { margin-left: .5rem; i + span, span + i { margin: 0 0 0 .5rem; } } } } ================================================ FILE: src/nginxconfig/scss/_setup.scss ================================================ /* Copyright 2020 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. */ .setup { .panel { p { color: $dark-blue; overflow-wrap: break-word; a { text-decoration: none; } } ol { margin: 0 1rem; li { margin: 0 0 1.5rem; } } } .buttons { margin: 1rem 0; } } ================================================ FILE: src/nginxconfig/scss/_tabs.scss ================================================ /* Copyright 2022 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. */ .tabs { ul { li { display: flex; flex-flow: row nowrap; &:hover, &:focus { a { &::after { background: $dark-blue; } } } // Light blue color if the user has gone past a tab &.is-before { a { color: mix($dark-grey, $primary); &::after { background: rgba($primary, .5); } &:hover { color: $dark-blue; &::after { background: $dark-blue; } } } } // If a user has changed something in the tab, we'll make the text dark always &.is-changed { a { color: $dark-blue; } } a { // Support having a remove button inline with the normal tab text &.domain { flex-grow: 1; padding-right: .25rem; &::after { border-bottom-right-radius: 0; border-top-right-radius: 0; } } &.remove { padding-left: .25rem; transition: color $transition; &::after { border-bottom-left-radius: 0; border-top-left-radius: 0; } &:hover, &:focus { color: $danger; &::after { background: $danger; } } i { font-size: .75em; margin: 0; } } i { // Add domain button &.fa-plus { font-size: .75em; margin: 0 .35rem 0 0; } // Warning icon &.fa-exclamation-triangle { color: $warning-hover; font-size: .9em; margin: 0 0 .1rem .35rem; } } } } } } ================================================ FILE: src/nginxconfig/scss/_vue-select.scss ================================================ /* Copyright 2022 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. */ // stylelint-disable selector-class-pattern .v-select { --vs-border-color: #{$border}; --vs-border-radius: #{$border-radius}; --vs-dropdown-box-shadow: 0 2px 4px #{rgba($dark-blue, .06)}; --vs-dropdown-option--active-bg: #{$primary}; // stylelint-disable-line custom-property-pattern &.vs--open { > ul { opacity: 1; } .vs__dropdown-toggle { border-color: $primary; box-shadow: 0 0 2px rgba($success, .5); .vs__selected { height: $height; position: unset; top: .75em; } .vs__search { position: absolute; width: 100%; } } } > ul { display: block !important; margin: 0; opacity: 0; transition: opacity $transition; } .vs__dropdown-toggle { box-shadow: none; padding: 0 16px; transition: border $transition, box-shadow $transition; .vs__selected-options { padding: 0; .vs__selected { margin: 0; padding: 0; transition: opacity $transition; .has-icon { align-items: center; display: flex; .icon { color: $dark-grey; font-size: 1.25rem; margin: 0 .5rem 0 0; } } } .vs__search { &, &:focus { background: none; border: 0; box-shadow: none; margin: 0; padding: 0; width: 0; } } } .vs__actions { padding: 0 0 0 .25rem; } } .vs__dropdown-menu { .vs__dropdown-option { padding: .25rem 1.25rem; white-space: normal; } } } ================================================ FILE: src/nginxconfig/scss/style.scss ================================================ /* Copyright 2023 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. */ $header: #0071fe; $highlight: #f2c94c; $callout: #f3f5f9; @import "~do-bulma/src/style"; .do-bulma { @import "../../../build/prism"; $pretty--color-dark: $primary; // stylelint-disable-line scss/dollar-variable-pattern $pretty--color-default: $primary; // stylelint-disable-line scss/dollar-variable-pattern @import "~pretty-checkbox/src/pretty-checkbox"; // Local imports @import "header"; @import "tabs"; @import "panel"; @import "fields"; @import "vue-select"; @import "modals"; @import "callout"; @import "setup"; @import "code"; @import "files"; @import "footer"; @import "columns"; } ================================================ FILE: src/nginxconfig/templates/app.vue ================================================ ================================================ FILE: src/nginxconfig/templates/callouts/contribute.vue ================================================ ================================================ FILE: src/nginxconfig/templates/callouts/droplet.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/https.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/index.js ================================================ /* 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 Server from './server.vue'; import HTTPS from './https.vue'; import PHP from './php.vue'; import Python from './python.vue'; import ReverseProxy from './reverse_proxy.vue'; import Routing from './routing.vue'; import Logging from './logging.vue'; import Restrict from './restrict.vue'; import Onion from './onion.vue'; export default [Server, HTTPS, PHP, Python, ReverseProxy, Routing, Logging, Restrict, Onion]; ================================================ FILE: src/nginxconfig/templates/domain_sections/logging.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/onion.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/php.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/presets.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/python.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/restrict.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/reverse_proxy.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/routing.vue ================================================ ================================================ FILE: src/nginxconfig/templates/domain_sections/server.vue ================================================ ================================================ FILE: src/nginxconfig/templates/footer.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/docker.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/https.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/index.js ================================================ /* 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.vue'; import Security from './security.vue'; import Python from './python.vue'; import ReverseProxy from './reverse_proxy.vue'; import Performance from './performance.vue'; import Logging from './logging.vue'; import NGINX from './nginx.vue'; import Docker from './docker.vue'; import Tools from './tools.vue'; export default [HTTPS, Security, Python, ReverseProxy, Performance, Logging, NGINX, Docker, Tools]; ================================================ FILE: src/nginxconfig/templates/global_sections/logging.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/nginx.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/performance.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/python.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/reverse_proxy.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/security.vue ================================================ ================================================ FILE: src/nginxconfig/templates/global_sections/tools.vue ================================================ ================================================ FILE: src/nginxconfig/templates/inputs/checkbox.vue ================================================ ================================================ FILE: src/nginxconfig/templates/inputs/radio.vue ================================================ ================================================ FILE: src/nginxconfig/templates/prism/bash.vue ================================================ ================================================ FILE: src/nginxconfig/templates/prism/docker.vue ================================================ ================================================ FILE: src/nginxconfig/templates/prism/nginx.vue ================================================ ================================================ FILE: src/nginxconfig/templates/prism/yaml.vue ================================================ ================================================ FILE: src/nginxconfig/templates/setup.vue ================================================ ================================================ FILE: src/nginxconfig/templates/setup_sections/certbot.vue ================================================ ================================================ FILE: src/nginxconfig/templates/setup_sections/download.vue ================================================ ================================================ FILE: src/nginxconfig/templates/setup_sections/go_live.vue ================================================ ================================================ FILE: src/nginxconfig/templates/setup_sections/index.js ================================================ /* 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 Download from './download.vue'; import SSL from './ssl.vue'; import Certbot from './certbot.vue'; import GoLive from './go_live.vue'; export default [Download, SSL, Certbot, GoLive]; ================================================ FILE: src/nginxconfig/templates/setup_sections/ssl.vue ================================================ ================================================ FILE: src/nginxconfig/util/analytics.js ================================================ /* 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 { info } from './log.js'; export default ({ category, action, label, value, nonInteraction }) => { info('Analytics event:', { category, action, label, value, nonInteraction }); /*try { // Google Analytics window.ga('send', 'event', { eventCategory: category, eventAction: action, eventLabel: label, eventValue: value, nonInteraction, }); } catch (_) { // If analytics fail, don't block anything else }*/ try { // Google Tag Manager window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: 'nginx_tool', category, action, label, value, nonInteraction, }); } catch (_) { // If analytics fail, don't block anything else } try { // Segment window.analytics.track('Web Interaction', { category, action, label, value, nonInteraction, }); } catch (_) { // If analytics fail, don't block anything else } }; /* All analytics events in app: # Initial language set (from browser or query param) File: app.vue Category: 'Language' Action: 'Set' Label: language pack name Non-interaction: true # User manually changing tool language File: app.vue Category: 'Language' Action: 'Set' Label: language pack name Non-interaction: false # Initial domains set (from query params) File: app.vue Category: 'Site' Action: 'Added' Value: total number of sites active in tool Non-interaction: true # User adding a domain File: app.vue Category: 'Site' Action: 'Added' Value: total number of sites active in tool Non-interaction: false # User removing a domain File: app.vue Category: 'Site' Action: 'Removed' Label: domain name being removed Value: total number of sites active in tool after removal # Initial split column mode (will always be disabled) File: app.vue Category: 'Split column' Action: 'Disabled' Non-interaction: true # User changing the column mode File: app.vue Category: 'Split column' Action: 'Disabled' / 'Enabled' Non-interaction: false # User applying a preset File: domain_sections/presets.vue Category: 'Preset' Action: 'Applied' Label: preset internal name # User applying a preset with previous customisations File: domain_sections/presets.vue Category: 'Preset' Action: 'Overwritten' Label: preset internal name # User resetting global settings File: global_sections/tools.vue Category: 'Tools' Action: 'Global settings reset' # User resetting a domain File: global_sections/tools.vue Category: 'Tools' Action: 'Site reset' Label: domain name being reset # User removing a domain in the tools tab Note: This will also trigger the regular site removal event in app.vue File: global_sections/tools.vue Category: 'Tools' Action: 'Removed site' Label: domain name being removed # User resetting all domains File: global_sections/tools.vue Category: 'Tools' Action: 'All sites reset' Label: comma-separated list of domain names being reset Value: total number of domains being reset # User removing all domains Note: This will also trigger the regular site removal event in app.vue for each domain removed File: global_sections/tools.vue Category: 'Tools' Action: 'All sites removed' Label: comma-separated list of domain names being removed Value: total number of domains being removed # User clicking a tab in global settings File: global.vue Category: 'Global' Action: 'Tab clicked' Label: from tab, to tab # User clicking back in global settings File: global.vue Category: 'Global' Action: 'Back clicked' Label: from tab, to tab # User clicking next in global settings File: global.vue Category: 'Global' Action: 'Next clicked' Label: from tab, to tab # User clicking a tab in domain settings File: domain.vue Category: 'Site' Action: 'Tab clicked' Label: from tab, to tab # User clicking back in domain settings File: domain.vue Category: 'Site' Action: 'Back clicked' Label: from tab, to tab # User clicking next in domain settings File: domain.vue Category: 'Site' Action: 'Next clicked' Label: from tab, to tab # User clicking a tab in setup File: setup.vue Category: 'Setup' Action: 'Tab clicked' Label: from tab, to tab # User clicking back in setup File: setup.vue Category: 'Setup' Action: 'Back clicked' Label: from tab, to tab # User clicking next in setup File: setup.vue Category: 'Setup' Action: 'Next clicked' Label: from tab, to tab # User downloading the config File: setup.vue Category: 'Setup' Action: 'Downloaded tar file' Label: name of the tar file (incl. domain names) Value: total number of active domains # User copying the base64 config File: setup.vue Category: 'Setup' Action: 'Copied base64 tar' Label: name of the tar file (incl. domain names) Value: total number of active domains # User copying a code snippet in setup File: setup.vue Category: 'Setup' Action: 'Code snippet copied' Label: tab name: a summary of the code snippet # User copying a config file File: app.vue Category: 'Config files' Action: 'Code snippet copied' Label: name of file without nginx directory # Droplet callout is rendered File: callouts/droplet.vue Category: 'Droplet callout' Action: 'Visible' Non-interaction: true # User clicks on droplet callout File: callouts/droplet.vue Category: 'Droplet callout' Action: 'Clicked' # Contribute callout is rendered (on scroll) File: callouts/contribute.vue Category: 'Contribute callout' Action: 'Visible' Non-interaction: true # User clicks on contribute callout File: callouts/contribute.vue Category: 'Contribute callout' Action: 'Clicked' # User closes the contribute callout File: callouts/contribute.vue Category: 'Contribute callout' Action: 'Closed' */ ================================================ FILE: src/nginxconfig/util/angular_backwards_compatibility.js ================================================ /* 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 isObject from './is_object.js'; const oldBool = (val) => (val.toString().trim() === '' ? true : val); const globalMap = { ssl_profile: ['https', 'sslProfile'], resolver_cloudflare: ['https', 'ocspCloudflare', oldBool], resolver_google: ['https', 'ocspGoogle', oldBool], resolver_opendns: ['https', 'ocspOpenDns', oldBool], directory_letsencrypt: ['https', 'letsEncryptRoot'], referrer_policy: ['security', 'referrerPolicy'], content_security_policy: ['security', 'contentSecurityPolicy'], server_tokens: ['security', 'serverTokens', oldBool], limit_req: ['security', 'limitReq', oldBool], php_server: ['php', 'phpServer'], php_server_backup: ['php', 'phpBackupServer'], python_server: ['python', 'pythonServer'], gzip: ['performance', 'gzipCompression', oldBool], brotli: ['performance', 'brotliCompression', oldBool], expires_assets: ['performance', 'assetsExpiration'], expires_media: ['performance', 'mediaExpiration'], expires_svg: ['performance', 'svgExpiration'], expires_fonts: ['performance', 'fontsExpiration'], access_log: ['logging', 'accessLog'], error_log: ['logging', 'errorLog'], log_not_found: ['logging', 'logNotFound', oldBool], directory_nginx: ['nginx', 'nginxConfigDirectory'], worker_processes: ['nginx', 'workerProcesses'], user: ['nginx', 'user'], pid: ['nginx', 'pid'], client_max_body_size: ['nginx', 'clientMaxBodySize'], file_structure: [ 'tools', 'modularizedStructure', (val) => val.toLowerCase().trim() === 'modularized', ], symlink: ['tools', 'symlinkVhost', oldBool], }; const domainMap = { domain: ['server', 'domain'], path: ['server', 'path'], document_root: ['server', 'documentRoot'], non_www: ['server', 'wwwSubdomain', (val) => !oldBool(val)], cdn: ['server', 'cdnSubdomain', oldBool], redirect: ['server', 'redirectSubdomains', oldBool], ipv4: ['server', 'listenIpv4'], ipv6: ['server', 'listenIpv6'], https: ['https', 'https', oldBool], http2: ['https', 'http2', oldBool], force_https: ['https', 'forceHttps', oldBool], hsts: ['https', 'hsts', oldBool], hsts_subdomains: ['https', 'hstsSubdomains', oldBool], hsts_preload: ['https', 'hstsPreload', oldBool], cert_type: [ 'https', 'certType', (val) => (val.toLowerCase().trim() === 'custom' ? 'custom' : 'letsEncrypt'), ], email: ['https', 'letsEncryptEmail'], ssl_certificate: ['https', 'sslCertificate'], ssl_certificate_key: ['https', 'sslCertificateKey'], php: ['php', 'php', oldBool], wordpress: ['php', 'wordPressRules', oldBool], drupal: ['php', 'drupalRules', oldBool], magento: ['php', 'magentoRules', oldBool], python: ['python', 'python', oldBool], django: ['python', 'djangoRules', oldBool], proxy: ['reverseProxy', 'reverseProxy', oldBool], proxy_path: ['reverseProxy', 'path'], proxy_pass: ['reverseProxy', 'proxyPass'], root: ['routing', 'root', oldBool], index: ['routing', 'index'], fallback_html: ['routing', 'fallbackHtml', oldBool], fallback_php: ['routing', 'fallbackPhp', oldBool], fallback_php_path: ['routing', 'fallbackPhpPath'], php_legacy_routing: ['routing', 'legacyPhpRouting', oldBool], access_log_domain: ['logging', 'accessLog', oldBool], error_log_domain: ['logging', 'errorLog', oldBool], }; // Handle converting the old query format from nginxconfig.io-angular to our new query params export default (data) => { // Hold any mapped global data const mappedGlobal = {}; // Handle converting global settings & storing domains for (const key in data) { if (!Object.prototype.hasOwnProperty.call(data, key)) continue; // Map old global settings to their new ones if (key in globalMap && !isObject(data[key])) { const map = globalMap[key]; mappedGlobal[map[0]] = mappedGlobal[map[0]] || {}; mappedGlobal[map[0]][map[1]] = map.length < 3 ? data[key] : map[2](data[key]); continue; } // If not a global setting and if this is an integer // Then, this is probably an old domain, so we'll try to convert it as such if (!isNaN(parseInt(key))) { data.domains = isObject(data.domains) ? data.domains : {}; data.domains[key] = data[key]; } } // Overwrite mapped global data data.global = { ...(data.global || {}), ...mappedGlobal }; // Handle converting domain settings if ('domains' in data && isObject(data.domains)) { for (const key in data.domains) { // Don't include inherited props if (!Object.prototype.hasOwnProperty.call(data.domains, key)) continue; // Check this is an object if (!isObject(data.domains[key])) continue; // Hold any mapped data const mappedData = {}; // Handle converting old domain settings to new ones for (const key2 in data.domains[key]) { // Don't include inherited props if (!Object.prototype.hasOwnProperty.call(data.domains[key], key2)) continue; // Don't convert objects if (isObject(data.domains[key][key2])) continue; // Map old settings to their new ones if (key2 in domainMap) { const map = domainMap[key2]; mappedData[map[0]] = mappedData[map[0]] || {}; mappedData[map[0]][map[1]] = map.length < 3 ? data.domains[key][key2] : map[2](data.domains[key][key2]); } } // Overwrite mapped properties data.domains[key] = { ...data.domains[key], ...mappedData }; } } }; ================================================ FILE: src/nginxconfig/util/browser_language.js ================================================ /* 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 { fromSep } from './language_packs.js'; export default (availablePacks) => { if (typeof window === 'object' && typeof window.navigator === 'object') { const userLocales = new Set(); // Get the user languages if (Array.isArray(window.navigator.languages)) window.navigator.languages.forEach((locale) => userLocales.add(locale)); if (typeof window.navigator.language === 'string') userLocales.add(window.navigator.language); if (Intl && 'DateTimeFormat' in Intl) if (Intl.DateTimeFormat().resolvedOptions().locale !== 'und') userLocales.add(Intl.DateTimeFormat().resolvedOptions().locale); // Try to find an exact region/language match const exactMatch = [...userLocales.values()].find((locale) => availablePacks.includes(fromSep(locale, '-')), ); if (exactMatch) return fromSep(exactMatch, '-'); // Build a map of languages to pack const i18nPackLanguages = availablePacks.reduce((map, pack) => { const lang = pack.match(/^[a-z]+/)[0]; if (!(lang in map)) map[lang] = pack; return map; }, {}); // Try to match a user language to a pack language const langMatch = [...userLocales.values()].find((x) => Object.keys(i18nPackLanguages).includes(x.split('-')[0].toLowerCase()), ); if (langMatch) return i18nPackLanguages[langMatch.split('-')[0].toLowerCase()]; return false; } }; ================================================ FILE: src/nginxconfig/util/camel_to_snake.js ================================================ /* Copyright 2020 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 (str) => str.replace(/[\w]([A-Z])/g, (m) => `${m[0]}_${m[1]}`).toLowerCase(); ================================================ FILE: src/nginxconfig/util/common_hsts.js ================================================ /* Copyright 2020 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 (domains) => { return ( domains.every((d) => d.https.hsts.computed) && (domains.every((d) => d.https.hstsSubdomains.computed) || domains.every((d) => !d.https.hstsSubdomains.computed)) && (domains.every((d) => d.https.hstsPreload.computed) || domains.every((d) => !d.https.hstsPreload.computed)) ); }; ================================================ FILE: src/nginxconfig/util/computed_from_defaults.js ================================================ /* 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 isChanged from './is_changed.js'; export default (defaults, cat, isInteraction = true) => { return Object.keys(defaults).reduce((prev, key) => { prev[key] = { get() { return this.$props.data[key].value; }, set(value) { // Save user interaction if value changed if ( isInteraction && this.$parent && 'data' in this.$parent.$props && 'hasUserInteraction' in this.$parent.$props.data && !this.$parent.$props.data.hasUserInteraction && this.$props.data[key].value !== value ) this.$parent.$props.data.hasUserInteraction = true; this.$props.data[key].value = value; this.$props.data[key].computed = value; }, }; prev[key + 'Default'] = { get() { return this.$props.data[key].default; }, }; prev[key + 'Enabled'] = { get() { return this.$props.data[key].enabled; }, }; prev[key + 'Changed'] = { get() { return isChanged(this.$props.data[key], cat, key); }, }; return prev; }, {}); }; ================================================ FILE: src/nginxconfig/util/deep_merge.js ================================================ /* Copyright 2021 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 (target, source) => { const merge = (target, source) => { Object.keys(source).forEach((key) => { if (source[key] && typeof source[key] === 'object') { merge((target[key] = target[key] || {}), source[key]); return; } target[key] = source[key]; }); }; merge(target, source); }; ================================================ FILE: src/nginxconfig/util/defaults.js ================================================ /* Copyright 2022 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 const serverDomainDefault = 'example.com'; ================================================ FILE: src/nginxconfig/util/delegated_from_defaults.js ================================================ /* Copyright 2020 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 (defaults) => { return Object.keys(defaults).reduce((prev, key) => { prev[key] = { value: defaults[key].default, computed: defaults[key].default, ...defaults[key], }; return prev; }, {}); }; ================================================ FILE: src/nginxconfig/util/export_data.js ================================================ /* Copyright 2020 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 categoriesExport = (categories) => { const categoriesData = {}; // Work through each category for (const category in categories) { // Ignore presets if (category === 'presets') continue; const categoryData = {}; // Go over each property in the category for (const property in categories[category]) { // If the user input differs from the default, they changed it, so we save it const propertyData = categories[category][property]; if (propertyData.value !== propertyData.default) { categoryData[property] = propertyData.value; } } // If there were any property changes, save the category if (Object.keys(categoryData).length) { categoriesData[category] = categoryData; } } return categoriesData; }; export default (domains, global) => { const exportData = {}; // Handle domains // Always save changes, even if none, so we can replicate the correct number of domains exportData.domains = domains .map((domain) => categoriesExport(domain[0])) .reduce((prev, current, index) => { prev[index] = current; return prev; }, {}); // Handle global // If there were any category changes, save global changes const globalData = categoriesExport(global); if (Object.keys(globalData).length) { exportData.global = globalData; } return exportData; }; ================================================ FILE: src/nginxconfig/util/get_ssl_certificate.js ================================================ /* Copyright 2020 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 const getSslCertificate = (domain, global) => { if (domain.https.certType.computed === 'letsEncrypt') return `${global.https.letsEncryptCertRoot.computed.replace(/\/+$/, '')}/${ domain.server.domain.computed }/fullchain.pem`; if (domain.https.sslCertificate.computed) return domain.https.sslCertificate.computed; return `${global.nginx.nginxConfigDirectory.computed.replace(/\/+$/, '')}/ssl/${ domain.server.domain.computed }.crt`; }; export const getSslCertificateKey = (domain, global) => { if (domain.https.certType.computed === 'letsEncrypt') return `${global.https.letsEncryptCertRoot.computed.replace(/\/+$/, '')}/${ domain.server.domain.computed }/privkey.pem`; if (domain.https.sslCertificateKey.computed) return domain.https.sslCertificateKey.computed; return `${global.nginx.nginxConfigDirectory.computed.replace(/\/+$/, '')}/ssl/${ domain.server.domain.computed }.key`; }; ================================================ FILE: src/nginxconfig/util/import_data.js ================================================ /* 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 qs from 'qs'; import clone from 'clone'; import Domain from '../templates/domain.vue'; import isObject from './is_object.js'; import angularBackwardsCompatibility from './angular_backwards_compatibility.js'; import vueBackwardsCompatibility from './vue_backwards_compatibility.js'; const applyCategories = (categories, target) => { // Work through each potential category for (const category in categories) { // Avoid inheritance if (!Object.prototype.hasOwnProperty.call(categories, category)) continue; // Ignore presets if (category === 'presets') continue; // Check this is a real category if (!(category in target)) continue; // Check this is an object if (!isObject(categories[category])) continue; // Work through each potential setting in this category for (const key in categories[category]) { // Avoid inheritance if (!Object.prototype.hasOwnProperty.call(categories[category], key)) continue; // Check this is a real key if (!(key in target[category])) continue; // Apply the value target[category][key].value = categories[category][key]; target[category][key].computed = categories[category][key]; } } }; export default (query, domains, global, nextTick) => new Promise((resolve) => { const data = qs.parse(query, { ignoreQueryPrefix: true, allowDots: true, parseArrays: false, decoder(value) { value = decodeURIComponent(value); // If it's a set of digits, parse it as a float if (/^(\d+|\d*\.\d+)$/.test(value)) return parseFloat(value); // If it matches a keyword, convert it let keywords = { true: true, false: false, null: null, undefined: undefined, }; if (value in keywords) return keywords[value]; // Otherwise, leave it as is return value; }, }); // Handle converting nginxconfig.io-angular params to the current version angularBackwardsCompatibility(data); // Handle converting vue params to the current version vueBackwardsCompatibility(data); // Handle domains if ('domains' in data && isObject(data.domains)) { // Work through all valid integer keys in the object const keys = Object.keys(data.domains) .map((x) => parseInt(x)) .filter((x) => !isNaN(x)); for (let i = 0; i < Math.max(...keys) + 1; i++) { // If the key doesn't exist or this isn't a valid object, assume it was an untouched example domain if (!keys.includes(i) || !isObject(data.domains[i])) { domains.push(clone(Domain.delegated)); continue; } // Create a new domain (assume it has had custom user settings) // Push transforms the object to a proxy, so re-fetch the proxy from the array const domainImported = domains[domains.push(clone(Domain.delegated)) - 1]; domainImported.hasUserInteraction = true; // Apply the initial values on the next Vue tick, once the watchers are ready nextTick(() => applyCategories(data.domains[i], domainImported)); } } else { // If no configured domains, add a single default domains.push(clone(Domain.delegated)); } // Handle global settings if ('global' in data) { // If this is an object, apply any potential data if (isObject(data.global)) applyCategories(data.global, global); } // Resolve after everything has updated nextTick(() => nextTick(() => resolve(data))); }); ================================================ FILE: src/nginxconfig/util/is_changed.js ================================================ /* Copyright 2020 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 (prop, cat, key) => { // Show as changed when enabled & not default // Show php as changed when completely disabled (by reverse proxy or python) return ( (prop.enabled && prop.value !== prop.default) || (cat === 'php' && key === 'php' && prop.computed !== prop.default) ); }; ================================================ FILE: src/nginxconfig/util/is_object.js ================================================ /* Copyright 2020 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 (obj) => Object.prototype.toString.call(obj) === '[object Object]'; ================================================ FILE: src/nginxconfig/util/language_packs.js ================================================ /* 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 const defaultPack = 'en'; export { default as defaultPackData } from '../i18n/en/index.js'; export const toSep = (pack, sep) => pack .match(/^([a-z]+)([A-Z]*)$/) .slice(1) .map((x) => x.toLowerCase()) .filter((x) => !!x) .join(sep); export const fromSep = (pack, sep) => pack.split(sep, 2)[0].toLowerCase() + (pack.split(sep, 2)[1] || '').toUpperCase(); // Export a static array of all language packs export const availablePacks = Object.freeze([ 'de', 'en', 'es', 'fr', 'ja', 'pl', 'ptBR', 'ru', 'zhCN', 'zhTW', 'fa', ]); ================================================ FILE: src/nginxconfig/util/log.js ================================================ /* Copyright 2022 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 const info = process.env.NODE_ENV !== 'production' ? console.info.bind(console) : () => {}; export const log = process.env.NODE_ENV !== 'production' ? console.log.bind(console) : () => {}; export const warn = console.warn.bind(console); export const error = console.error.bind(console); ================================================ FILE: src/nginxconfig/util/logging.js ================================================ /* Copyright 2022 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 const accessLogPathDefault = '/var/log/nginx/access.log'; export const accessLogParamsDefault = 'buffer=512k flush=1m'; export const errorLogPathDefault = '/var/log/nginx/error.log'; export const errorLogPathDisabled = '/dev/null'; export const errorLogLevelDefault = 'warn'; export const errorLogLevelOptions = Object.freeze([ 'debug', 'info', 'notice', 'warn', 'error', 'crit', 'alert', 'emerg', ]); export const errorLogLevelDisabled = 'none'; export const getDomainAccessLog = (domain, global) => { let path = domain.logging.accessLogPath.computed.trim(); if (!path) { path = accessLogPathDefault; } return ( path + (global.logging.cloudflare.computed ? ' cloudflare' : ' combined') + (domain.logging.accessLogParameters.computed.trim() ? ` ${domain.logging.accessLogParameters.computed.trim()}` : '') ); }; export const getDomainErrorLog = (domain) => { let path = domain.logging.errorLogPath.computed.trim(); if (!path) { path = errorLogPathDefault; } const errorLogLevel = errorLogLevelOptions.includes(domain.logging.errorLogLevel.computed) ? ` ${domain.logging.errorLogLevel.computed}` : ''; return `${path}${errorLogLevel}`; }; ================================================ FILE: src/nginxconfig/util/php_path.js ================================================ /* Copyright 2021 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, backup = false) => { const key = `php${backup ? 'Backup' : ''}Server`; if (domain.php[key].computed === 'custom') return domain.php[`${key}Custom`].computed; return (domain.php[key].computed[0] === '/' ? 'unix:' : '') + domain.php[key].computed; }; ================================================ FILE: src/nginxconfig/util/php_upstream.js ================================================ /* Copyright 2021 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) => `php_${domain.server.domain.computed.replace(/\./g, '_')}`; ================================================ FILE: src/nginxconfig/util/prism_bundle.js ================================================ /* 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 Clipboard from 'clipboard'; import Prism from 'prismjs'; import 'prismjs/components/prism-nginx.js'; import 'prismjs/components/prism-bash.js'; import 'prismjs/plugins/keep-markup/prism-keep-markup.js'; import 'prismjs/plugins/toolbar/prism-toolbar.js'; import 'prismjs/plugins/toolbar/prism-toolbar.css'; import { warn } from './log.js'; // Custom copy to clipboard (based on the Prism one) const copyToClipboard = () => { if (!Prism.plugins.toolbar) { warn('Copy to Clipboard loaded before Toolbar.'); return; } Prism.plugins.toolbar.registerButton('copy-to-clipboard', (env) => { const linkCopy = document.createElement('button'); linkCopy.textContent = 'Copy'; const element = env.element; const clip = new Clipboard(linkCopy, { text: () => element.textContent, }); const resetText = () => { setTimeout(() => { linkCopy.textContent = 'Copy'; }, 5000); }; const emitEvent = () => { linkCopy.dispatchEvent( new CustomEvent('copied', { bubbles: true, detail: { text: element.textContent }, }), ); }; clip.on('success', () => { linkCopy.textContent = 'Copied!'; emitEvent(); resetText(); }); clip.on('error', () => { const isMac = navigator.platform.includes('Mac'); linkCopy.textContent = `Press ${isMac ? 'Cmd' : 'Ctrl'}+C to copy`; resetText(); }); return linkCopy; }); }; copyToClipboard(); ================================================ FILE: src/nginxconfig/util/share_query.js ================================================ /* 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 qs from 'qs'; import exportData from './export_data.js'; export default (domains, global) => { const data = exportData(domains, global); const query = qs.stringify(data, { allowDots: true }); return `${query.length > 1000 ? '#' : ''}${query.length ? '?' : ''}${query}`; }; ================================================ FILE: src/nginxconfig/util/snake_to_camel.js ================================================ /* Copyright 2020 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 (str) => str.replace(/_(\w)/g, (m) => `${m[0].replace('_', '')}${m[1].toUpperCase()}`); ================================================ FILE: src/nginxconfig/util/ssl_profiles.js ================================================ /* Copyright 2020 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. */ // https://github.com/mozilla/ssl-config-generator/blob/master/src/static/guidelines/5.0.json export default { modern: { name: 'Mozilla Modern', protocols: ['TLSv1.3'], ciphers: [ // 'TLS_AES_256_GCM_SHA384', // 'TLS_AES_128_GCM_SHA256', // 'TLS_CHACHA20_POLY1305_SHA256', ], server_preferred_order: false, dh_param_size: false, oldest_clients: [ 'Firefox 63', 'Android 10.0', 'Chrome 70', 'Edge 75', 'Java 11', 'OpenSSL 1.1.1', 'Opera 57', 'Safari 12.1', ], }, intermediate: { name: 'Mozilla Intermediate', protocols: ['TLSv1.2', 'TLSv1.3'], ciphers: [ // 'TLS_AES_256_GCM_SHA384', // 'TLS_AES_128_GCM_SHA256', // 'TLS_CHACHA20_POLY1305_SHA256', 'ECDHE-ECDSA-AES128-GCM-SHA256', 'ECDHE-RSA-AES128-GCM-SHA256', 'ECDHE-ECDSA-AES256-GCM-SHA384', 'ECDHE-RSA-AES256-GCM-SHA384', 'ECDHE-ECDSA-CHACHA20-POLY1305', 'ECDHE-RSA-CHACHA20-POLY1305', 'DHE-RSA-AES128-GCM-SHA256', 'DHE-RSA-AES256-GCM-SHA384', ], server_preferred_order: false, dh_param_size: 2048, oldest_clients: [ 'Firefox 27', 'Android 4.4.2', 'Chrome 31', 'Edge', 'IE 11 on Windows 7', 'Java 8u31', 'OpenSSL 1.0.1', 'Opera 20', 'Safari 9', ], }, old: { name: 'Mozilla Old', protocols: ['TLSv1', 'TLSv1.1', 'TLSv1.2', 'TLSv1.3'], ciphers: [ // 'TLS_AES_256_GCM_SHA384', // 'TLS_AES_128_GCM_SHA256', // 'TLS_CHACHA20_POLY1305_SHA256', 'ECDHE-ECDSA-AES128-GCM-SHA256', 'ECDHE-RSA-AES128-GCM-SHA256', 'ECDHE-ECDSA-AES256-GCM-SHA384', 'ECDHE-RSA-AES256-GCM-SHA384', 'ECDHE-ECDSA-CHACHA20-POLY1305', 'ECDHE-RSA-CHACHA20-POLY1305', 'DHE-RSA-AES128-GCM-SHA256', 'DHE-RSA-AES256-GCM-SHA384', 'DHE-RSA-CHACHA20-POLY1305', 'ECDHE-ECDSA-AES128-SHA256', 'ECDHE-RSA-AES128-SHA256', 'ECDHE-ECDSA-AES128-SHA', 'ECDHE-RSA-AES128-SHA', 'ECDHE-ECDSA-AES256-SHA384', 'ECDHE-RSA-AES256-SHA384', 'ECDHE-ECDSA-AES256-SHA', 'ECDHE-RSA-AES256-SHA', 'DHE-RSA-AES128-SHA256', 'DHE-RSA-AES256-SHA256', 'AES128-GCM-SHA256', 'AES256-GCM-SHA384', 'AES128-SHA256', 'AES256-SHA256', 'AES128-SHA', 'AES256-SHA', 'DES-CBC3-SHA', ], server_preferred_order: true, dh_param_size: 1024, oldest_clients: [ 'Firefox 1', 'Android 2.3', 'Chrome 1', 'Edge 12', 'IE8 on Windows XP', 'Java 6', 'OpenSSL 0.9.8', 'Opera 5', 'Safari 1', ], }, }; ================================================ FILE: src/nginxconfig/util/types_extensions.js ================================================ /* Copyright 2022 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 const gzipTypes = 'text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml'; export const extensions = { assets: 'css(\\.map)?|js(\\.map)?', fonts: 'ttf|ttc|otf|eot|woff2?', svg: 'svgz?', images: 'jpe?g|png|gif|ico|cur|heic|webp|tiff?', audio: 'mp3|m4a|aac|ogg|midi?|wav', video: 'mp4|mov|webm|mpe?g|avi|ogv|flv|wmv', docs: 'pdf|' + 'docx?|dotx?|docm|dotm|' + 'xlsx?|xltx?|xlsm|xltm|' + 'pptx?|potx?|pptm|potm|ppsx?', html: 'html?', }; ================================================ FILE: src/nginxconfig/util/vue_backwards_compatibility.js ================================================ /* 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 isObject from './is_object.js'; import deepMerge from './deep_merge.js'; import { accessLogPathDefault, accessLogParamsDefault, errorLogPathDefault, errorLogPathDisabled, errorLogLevelDefault, } from './logging.js'; import { serverDomainDefault } from './defaults.js'; // Migrate old logging settings to new ones const migrateLogging = (data) => { if (Object.keys(data).length === 0) return; const globalLogging = 'logging' in data.global && isObject(data.global.logging) ? data.global.logging : {}; // global access_log const [globalAccessLogPath, ...globalAccessLogParameters] = ( globalLogging.accessLog || accessLogPathDefault ).split(' '); const globalAccessLogEnabled = !('accessLog' in globalLogging) || // accessLog was enabled by default and might not appear at all (globalAccessLogPath !== '' && globalAccessLogPath !== 'off'); // *or* someone turned it off explicitly // global error_log const [globalErrorLogPath, ...globalErrorLogLevel] = ( globalLogging.errorLog || `${errorLogPathDefault} ${errorLogLevelDefault}` ).split(' '); const globalErrorLogEnabled = !('errorLog' in globalLogging) || // errorLog was enabled by default and might not appear at all (globalErrorLogPath !== '' && globalErrorLogPath !== errorLogPathDisabled); // *or* someone turned it off explicitly // set global access_log / error_log files for every domain UNLESS it was explicitly // enabled for the domain for (const key in data.domains) { if (!Object.prototype.hasOwnProperty.call(data.domains, key)) continue; const perDomainServer = { domain: serverDomainDefault, ...('server' in data.domains[key] && isObject(data.domains[key].server) ? data.domains[key].server : {}), }; const perDomainLogging = 'logging' in data.domains[key] && isObject(data.domains[key].logging) ? data.domains[key].logging : {}; // access_log let accessLogEnabled = globalAccessLogEnabled, accessLogPath = globalAccessLogPath; const accessLogParameters = globalAccessLogParameters.join(' ') || accessLogParamsDefault; const perDomainAccessLogEnabled = !!perDomainLogging.accessLog; if (perDomainAccessLogEnabled) { accessLogEnabled = true; accessLogPath = accessLogPath.replace( /([^/]+)\.log$/, `${perDomainServer.domain}.$1.log`, ); } // error_log let errorLogEnabled = globalErrorLogEnabled, errorLogPath = globalErrorLogPath; const errorLogLevel = globalErrorLogLevel.join(' ') || errorLogLevelDefault; const perDomainErrorLogEnabled = !!perDomainLogging.errorLog; if (perDomainErrorLogEnabled) { errorLogEnabled = true; errorLogPath = errorLogPath.replace( /([^/]+)\.log$/, `${perDomainServer.domain}.$1.log`, ); } data.domains[key].logging = { accessLogEnabled, accessLogPath, accessLogParameters, errorLogEnabled, errorLogPath, errorLogLevel, ...perDomainLogging, }; } }; // Handle converting the old query format to our new query params export default (data) => { // Handle converting old domain settings to new ones if ('global' in data && isObject(data.global)) { // Handle specifics global data const mappedData = { php: {}, }; // Keys to map const keysToMap = { php: ['phpServer', 'phpServerCustom', 'phpBackupServer', 'phpBackupServerCustom'], }; for (const key in data.global) { if (!Object.prototype.hasOwnProperty.call(data.global, key)) continue; // Skip if key doesn't need to be mapped if (!Object.prototype.hasOwnProperty.call(keysToMap, key)) continue; for (const key2 in data.global[key]) { if (!Object.prototype.hasOwnProperty.call(data.global[key], key2)) continue; if (keysToMap[key].includes(key2)) { mappedData[key][key2] = data.global[key][key2]; } } } for (const key in data.domains) { if (!Object.prototype.hasOwnProperty.call(data.domains, key)) continue; // Deep merge the mapped data deepMerge(data.domains[key], mappedData); } } migrateLogging(data); }; ================================================ FILE: src/static/robots.txt ================================================ User-agent: * Disallow: / ================================================ FILE: test/testBrowserLanguage.js ================================================ /* 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 browserLanguage from '../src/nginxconfig/util/browser_language.js'; class MockLocales { static languages = []; static language = null; static IntlBackup = null; static navigator = null; static setNavigatorLanguages(langs) { MockLocales.languages = langs; return this; } static setNavigatorLanguage(lang) { MockLocales.language = lang; return this; } static setDateTimeLocale(locale) { MockLocales.IntlBackup = Intl; if (!locale) { // eslint-disable-next-line no-global-assign Intl = undefined; return this; } const newDateTimeFormat = new Intl.DateTimeFormat(locale); // eslint-disable-next-line no-global-assign Intl = { DateTimeFormat() { return newDateTimeFormat; }, }; return this; } static restoreDateTimeLocale() { // eslint-disable-next-line no-global-assign Intl = MockLocales.IntlBackup; MockLocales.IntlBackup = null; return this; } static setNavigator(navigator) { MockLocales.navigator = window.navigator; window.navigator = navigator; return this; } static restoreNavigator() { window.navigator = MockLocales.navigator; MockLocales.navigator = null; return this; } } Object.defineProperty(window.navigator, 'languages', { get: () => { return MockLocales.languages || []; }, }); Object.defineProperty(window.navigator, 'language', { get: () => { return MockLocales.language || null; }, }); describe('browserLanguage', () => { test('Selects the first available exact match for language/region', () => { MockLocales.setDateTimeLocale(undefined); MockLocales.setNavigatorLanguages(['zh-CN', 'zh', 'en-US', 'en']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('zhCN'); MockLocales.setNavigatorLanguages(['zh-TW', 'zh', 'en-US', 'en']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('zhTW'); MockLocales.setNavigatorLanguages(['zh', 'en-US', 'en']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('en'); MockLocales.restoreDateTimeLocale(); }); test('Selects the first available language match based on language/region', () => { MockLocales.setDateTimeLocale(undefined); MockLocales.setNavigatorLanguages(['ja-JP', 'ja', 'en-US']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('en'); MockLocales.restoreDateTimeLocale(); }); test('Selects the first available language match based on language alone', () => { MockLocales.setDateTimeLocale(undefined); MockLocales.setNavigatorLanguages(['ja-JP', 'ja', 'zh']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('zhCN'); MockLocales.restoreDateTimeLocale(); }); test('Returns false when there is no available match', () => { MockLocales.setDateTimeLocale(undefined); MockLocales.setNavigatorLanguages(['ja-JP', 'ja']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toBeFalsy(); MockLocales.restoreDateTimeLocale(); }); describe('Different sources for user locale', () => { test('language, languages and Intl locale are `undefined`', () => { MockLocales.setNavigatorLanguages(undefined); MockLocales.setNavigatorLanguage(undefined); MockLocales.setDateTimeLocale(undefined); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toBeFalsy(); MockLocales.restoreDateTimeLocale(); }); test('language is `en`, languages and Intl locale are `undefined`', () => { MockLocales.setNavigatorLanguage('en'); MockLocales.setNavigatorLanguages(undefined); MockLocales.setDateTimeLocale(undefined); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('en'); MockLocales.restoreDateTimeLocale(); }); test('language and Intl locale are `undefined`, languages is `en-US, en`', () => { MockLocales.setNavigatorLanguage(undefined); MockLocales.setNavigatorLanguages(['en-US', 'en']); MockLocales.setDateTimeLocale(undefined); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('en'); MockLocales.restoreDateTimeLocale(); }); test('navigator is `undefined` and Intl locale is `en-US`', () => { MockLocales.setNavigator(undefined); MockLocales.setDateTimeLocale('en-US'); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('en'); MockLocales.restoreDateTimeLocale(); MockLocales.restoreNavigator(); }); }); }); ================================================ FILE: vue.config.js ================================================ /* Copyright 2022 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 webpack from 'webpack'; import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'; import DuplicatePackageCheckerPlugin from 'duplicate-package-checker-webpack-plugin'; import WebpackRequireFrom from 'webpack-require-from'; import { URL, fileURLToPath } from 'url'; export default { publicPath: './', outputDir: 'dist', filenameHashing: false, // Don't hash the output, so we can embed on the DigitalOcean Community productionSourceMap: false, devServer: { historyApiFallback: false, // Don't serve index.html for 404s in dev }, configureWebpack: { node: false, // Disable Node.js polyfills (Buffer etc.) -- This will be default in Webpack 5 plugins: [ // Fix dynamic imports from CDN (inject as first entry point before any imports can happen) { apply: compiler => { compiler.options.entry.app.import.unshift( fileURLToPath(new URL('src/nginxconfig/build/webpack-dynamic-import.js', import.meta.url)), ); } }, new WebpackRequireFrom({ methodName: '__webpackDynamicImportURL', suppressErrors: true }), // Pass the env in for logging new webpack.EnvironmentPlugin({ NODE_ENV: 'development' }), // Analyze the bundle new BundleAnalyzerPlugin({ analyzerMode: 'static', openAnalyzer: false }), new DuplicatePackageCheckerPlugin(), ], }, chainWebpack: config => { // Inject resolve-url-loader into the SCSS loader rules (to allow relative fonts in do-bulma to work) for (const rule of ['vue-modules', 'vue', 'normal-modules', 'normal']) { config.module.rule('scss') .oneOf(rule) .use('resolve-url-loader') .loader('resolve-url-loader') .before('sass-loader') .end() .use('sass-loader') .loader('sass-loader') .tap(options => ({ ...options, sourceMap: true })); } // Use a custom HTML template config.plugin('html').tap(options => { options[0].template = fileURLToPath(new URL('build/index.html', import.meta.url)); return options; }); }, };