Commit Graph

238 Commits

Author SHA1 Message Date
Matt Cowley
216cfd2033 Fix Webpack magic comments for Windows (#413) 2022-12-15 20:40:42 +00:00
Will 保哥
d9a77798b0 Set 'combined' as default log format when not using Cloudflare (#410)
* Fix the accessLogParamsDefault issue

This fixes #409

* Fixed for cloudflare logformat

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-11-21 23:19:03 +00:00
Kobi Meirson
e2a95a5ed4 Move logging configuration to be per-domain (#399)
* chore: per-domain logging

* fix: lint

* fix: revert cdn configuration disabling the access log

* feat: more granular controls for logging

* chore(cr): bump copyright year to 2022

* fix(cr): missing error_log level in the global config

* fix(cr): `is-changed` indicators

* chore(cr): newline at end of file + eslint enforcement

* fix(cr): rows alignment when checkbox applies

* fix(cr): don't use default computed values

* fix: lint

* chore: use new flag names to allow backward compatability

* chore: global `access_log` should always be `off`

* feat: migrate old logging to new

* feat: option to turn on access_log and error_log on redirects

* fix: update copyright year

* fix: missing translation

* fix(cr): migration from global `error_log` being empty

* fix(cr): missing `return`

* fix(cr): account for a `server` dictionary without `domain`

* fix(cr): migrate previous `access_log` and `error_log` paths using the previous behavior

* chore(cr): additional logging comment

* feat(cr): disable error_log per domain

* fix(logging): use default paths

* fix(logging): retain the user values for error_log when toggling the log on/off

* fix(bc): new params shouldn't be overridden
2022-11-14 15:37:44 +00:00
Sascha Moser
63aacfc644 Remove PHP 5.x, add PHP 8.2 (#402)
Co-authored-by: Sascha Moser <saschamoser1994@hotmail.de>
2022-10-31 21:49:59 +00:00
José Manuel Casani Guerra
81c5c517df Set proxy_ssl_server_name always (#394)
*  feat: nginx option - ssl_server_name

* 💡 chore: bump copyright year
2022-10-08 19:55:28 +01:00
José Manuel Casani Guerra
1afe9384fd Allow custom proxy host header to be set (#393)
*  feat: proxy header override

* 🐛 fix: missing translations key

* 🐛 fix: missing translations key, again 😅

* Update src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>

* 💡 chore: bump copyright year

* 🎨 refactor: update key to proxyHostHeader and i18n messages

* 🎨 refactor: fix key in template

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-10-08 19:54:58 +01:00
José Manuel Casani Guerra
4fabd0c0d9 Move share link from nginx.conf to nginxconfig.txt (#395)
*  feat: external shared link

*  chore: apply eslint

* Update src/nginxconfig/generators/index.js

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>

* Update src/nginxconfig/generators/conf/nginx.conf.js

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-10-04 21:20:26 +01:00
Matt Cowley
400911d695 Dependency updates (#389)
* Update Node.js (and npm) to latest LTS

* Update dependencies to latest minor versions

* Fix vue-select styling

* Update jest to latest major version

* Switch to do-vue branch with fixed templating

* Switch back to do-vue master

* Update do-bulma to latest version
2022-10-04 19:30:03 +01:00
5idereal
b7771d67a4 Update ‘copied’ translation for zh-tw (#391) 2022-10-03 02:01:46 +01:00
Raul Soledispa
57592e997a Use translated string in copy confirmation message (#383)
* Show message in the corresponding language when the user make clic on download button

* Guardar una copia del texto original para usarla cuando la función de copia se haya resuelto con éxito

* Resolving typos in the component and i18n

* Saving the original text of the button to show it when the copy function throws an error exception

Co-authored-by: Raul Soledispa <rsoledispa@technisys.com>
Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-10-02 16:10:43 +01:00
Matt Cowley
cd3785061e Dependency updates (#373)
* Bump Node.js to 16.16.0

* Minor version dependency updates

* Major version dependency updates

* Resolve dependency vulnerability
2022-07-12 12:58:54 +01:00
Ippei Sumida
97b175ab4d Add Japanese translation (#368)
* Add Japanese.

* Change copyright's year 20** to 2022.

* update translations in ja.

- templates.globalSections.performance.disableHtmlCaching
- templates.globalSections.performance.enableDisableHtmlCaching

* Change copyright's year 20** to 2022 every languages.js.

* correct according to review findings.
2022-06-16 15:37:27 +01:00
ChenYuhao
479162576d Add option to disable caching for HTML content (#366)
* feat: Global performance improve add no-cache for html

* feat: Disable HTML caching

* fix: eslint check

* Clean up
2022-06-14 23:05:09 +01:00
SiderealArt
2b638c24c5 Update Traditional Chinese translation (#367)
* commit

* complete

* revert to original title

* 2022

* space
2022-06-14 14:34:44 +01:00
Aman Agarwal
2eac584166 Fix limit_req and Wordpress-specific breaking wp-login.php (#360)
* limit_req and Wordpress-specific rules break wp-login.php issue #350 fix

* config for user's selection for php server

* comment fixes

* eslint fixes

Co-authored-by: Aman Agarwal <aman@Amans-MacBook-Air.local>
2022-05-26 12:51:01 +01:00
kongmoumou
f559111607 Fix zhCN translation for fallback routing (#359) 2022-05-17 22:32:07 +01:00
Matt Cowley
da783ae467 Allow websockets in default CSP (#345) 2022-04-22 18:38:41 +01:00
Matt Cowley
9f396e0693 Add PHP 8.1 FPM socket option (#346)
* Add PHP 8.1 FPM socket option

* Add i18n strings for PHP 8.1 socket
2022-04-21 12:43:02 +01:00
Matt Cowley
ebca910786 Upgrade to Vue 3 (#331)
* Dependency updates

* Upgrade to Vue 3 (WIP)

* Fix reactivity of imported domains (the object gets replaced by a proxy)

* Cleaner access of proxy for domain imports

* Remove upgrade note about reactivity issue

* Fix locale switching

* Remove upgrade note about language issue

* Patch Vue 3 issues with pretty-checkbox-vue

* Remove upgrade note about checkbox issue

* Fix extra slot for checkboxes and radios

* Set checkmark as default for extra slot

* Use patched pretty-checkbox-vue from do-vue

* Fix removing domains

* Switch to main do-vue/do-bulma
2022-03-21 22:51:21 +00:00
Arnaud Lier
28993820eb fix: cloudflare quiche link (#336)
Fixes #334
2022-02-28 23:25:02 +00:00
Matt Cowley
07b0714837 Suppress logging with NODE_ENV (#332) 2022-02-25 20:00:45 +00:00
Matt (IPv4) Cowley
23350f3a57 Swap out sass-lint with stylelint (#328)
* Swap out sass-lint

* Include standard SCSS rules for stylelint

* Fix stylelint violations

* Update Actions to use stylelint

Co-authored-by: Jake Gealer <jake@gealer.email>
2022-02-04 22:01:19 +00:00
Paweł Kozubal
98ac6b2f21 Fix typo in pl translation (#326) 2022-02-04 21:16:08 +00:00
Matt (IPv4) Cowley
387a47b014 Dependency updates + full ESM (#327)
* Dependency updates

* Fix eslint issues

* Switch to esm fully

* Fix Jest tests

* Update to node 16, force mini-css-extract-plugin to 1.x

* More dep updates

* Use correct NPM version in Actions

* Fix mini-css-extract-plugin version overrides

* Don't rely on Webpack for available languages
2022-02-04 21:10:20 +00:00
Roki
eef26ae79a Fix typo in Polish translation (#317) 2022-01-15 18:43:43 +00:00
Daniel Kreiseder
a2ddcc1da8 Improve german translation in setup instructions (#315)
* Improve german translation in setup instructions

* Update src/nginxconfig/i18n/de/templates/setup_sections/certbot.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-12-16 15:01:18 +00:00
Noob Tsai
338acfe76f Update Chinese Traditional translations (#313) 2021-11-16 18:59:54 +00:00
mphschmitt
98cb59bbdf Update french translations (#310) 2021-10-19 10:31:42 +01:00
José Manuel Casani Guerra
ebcd51f0e7 Add Spanish Translation (#309)
* feat: spanish translation

* fix: missing key `languages.es`

* docs: add `languages.es` in de language

* fix: ensure the copyright year

* docs: fix some translation

* Update src/nginxconfig/i18n/es/templates/domain_sections/routing.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

* Update src/nginxconfig/i18n/es/templates/footer.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

* Update src/nginxconfig/i18n/es/templates/domain_sections/onion.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-10-11 11:22:10 +01:00
Joachim Schwarm
66e7a235df Add German Translation (#301)
* Add German Translation

* Fix tabs vs spaces

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-10-08 17:16:40 +01:00
Муравьёв Семён
dae1173318 Russian translation updates (#305)
* Add Russian translations for HTTP3 words

* Add Russian translations for Reuseport

* Correct Фронтэнд to Фронтенд

* Typo "приветсвуем" in Russian translation
2021-10-04 16:41:08 +01:00
Luca
1c47650d31 refactor: Better button description for view modes (#307)
* refactor: Better button description for view modes

* fix: Hyphenate

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-10-04 16:37:13 +01:00
Nadhir
9acceeb924 Adds some permissions to the tar extracted files (#299)
This patch adds permissions after extracting the config tar as suggested by issue #257
2021-09-29 22:25:22 +01:00
МАН69К
3651c8438b Mistake in Russian translation (#295) 2021-09-28 11:59:05 +01:00
Matt (IPv4) Cowley
ce74e4c226 Update and fix diffing logic (#289)
* Bump files-diff version to ensure HTML escaping works

* Pass full rendered file path into diff

* Cleaner naming, removing pointless method

* Remove console log
2021-07-27 10:49:51 +01:00
Daniel Walsh
5330055f2b reuseport is not HTTP/3 only (#283)
* reuseport is not HTTP/3 only

* Forgot to remove these

* Move reuseport to global > https

* Update i18n files

* Only set reuseport once per ip:port pair

* Move reuseport opt outside ssl conditional

* Update copyright headers of touched files

Co-authored-by: MattIPv4 <me@mattcowley.co.uk>
2021-06-28 12:51:45 +01:00
Daniel Walsh
fee8fb4189 Implement Permissions-Policy header (#282)
* Implement Permissions-Policy header

* Bump copyright year

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-06-25 14:46:31 +01:00
SVE1R
da6f8f6be1 Update Chinese translations (#279)
* Add performance translation for Simplified Chinese

* Add reverse_proxy translation for Simplified Chinese

* Add security translation for Simplified Chinese

* Add https translation for Traditionnal Chinese

* Add performance translation for Traditionnal Chinese

* Add reverse_proxy translation for Traditionnal Chinese

* Add security translation for Simplified Chinese
2021-06-01 00:03:43 +01:00
Yasio
1565760f75 Add Polish translation (#276)
* init polish language pack

* upd polish lang

* add todos

* add proper polish language name to other langs

* fix indentation, fix copyright year, fix Polish translations

* add new string translations to Polish lang
2021-05-31 23:58:52 +01:00
Matt (IPv4) Cowley
28b158c748 Improve WordPress CSP warning detection (#273) 2021-05-29 13:17:41 +01:00
Justin Goette
6200e74842 Add NGINX implementation of proxy_set_header Forwarded (#275)
* add NGINX implementation of proxy_set_header Forwarded

* update copyright year

* Treat X-Forwarded-* same

* Comments
2021-05-29 13:12:50 +01:00
Justin Goette
b1b989f172 Replace obsoleted X-Frame-Options with frame-ancestors (#272) 2021-05-25 12:37:08 +01:00
Matt (IPv4) Cowley
b05f301c21 Fix webpack dynamic imports (#266)
* Update all deps

* Update dynamic import injection
2021-05-18 16:33:25 +01:00
Matt (IPv4) Cowley
27d090daeb Show warning icons in tabs (#260)
* Add unstyled warning to onion tab

* Style the warning icon

* Add warning for http3

* Add warning icon to global security tab

* Surface warnings for domains

* Show warning icon for duplicate domains

* Improve http3 warning string names

* Show warning message/icon for Brotli
2021-05-13 15:28:17 +01:00
Matt (IPv4) Cowley
fe5f2b234d Reduce the query param cut-off to 1000 chars (#259)
* Reduce the query param cut-off to 1000 chars

* Update copyright
2021-05-13 15:27:17 +01:00
Matt (IPv4) Cowley
47371a1216 Fix tab order (#255)
* Export array from domain sections

* Export array from global sections

* Export array from setup sections
2021-04-21 21:46:39 +01:00
SVE1R
03ad31f8d7 Update Simplified Chinese Translation (#252)
* Complete Translation In Simplified Chinese

* Update src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-04-12 15:49:16 +01:00
Matt (IPv4) Cowley
deec5269ad Hotfix: HTTP/3 strings use domainSections not globalSections (#250) 2021-04-06 00:53:56 +01:00
Matt (IPv4) Cowley
8cd4adbd9c Tweak sed commands in certbot setup (#240) 2021-03-31 14:14:40 +01:00
Matt (IPv4) Cowley
7a0b6937c6 Assorted cleanup + fixes (#249)
* Move i18n strings to correct files

* Update copyright header in recently modified files

* More consistent line wrapping

* Move modules above events block
2021-03-31 14:12:50 +01:00