Commit graph

317 commits

Author SHA1 Message Date
Faiz Azhar
3b00bda80e
Log Cloudflare headers (#116) (#183)
* #116 Log Cloudflare headers

* #116 Log Cloudflare headers

* #116 Log Cloudflare headers

* #163 Fix linting

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

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

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

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

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

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

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

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

* Remove extra div + incorrect if check, revert linebreak  removal

* handle custom log formats as an array

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

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

* remove curly braces, move default log format array definition inside if statement

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-27 18:11:53 +00:00
Alexandre Dias
ae322cf2c5
Joomla! conf (#86) (#186)
* Joomla! conf

* fix bug escape character & ;

* remove global and fix presets }

* change requests
2020-10-27 10:40:39 +00:00
William Chang
8bc06372a3
Add security.txt (#181)
* Add security.txt

* Add security.txt

* Update website.conf

* Update security label

* Add eslint linebreak for windows

* Removed backwards compability security.txt encryption

* Update .eslintrc.js

* Update security component

* Change location redirect on security.txt to absolute path

* Moved security.txt config into security.conf
2020-10-22 16:45:11 +01:00
Matt (IPv4) Cowley
b48162a3e2
Always use absolute url for query params (#185) 2020-10-21 16:58:08 +01:00
Matt (IPv4) Cowley
ec86d8819b
Fix wordpress rules, removing incorrect CVE fix (#184) 2020-10-21 16:55:06 +01:00
Yasio
d9d9a1a92a
Allow request method restriction on domain (#174)
* add limit_except generator to domain

* revert package-lock.json

* change from limit param to if statement in restrict methods

* add response code input

* fix scss
2020-10-15 17:52:41 +01:00
RytoEX
5daf54ebde
Fix HTTP to HTTPS redirect without subdomains (#180) 2020-10-15 17:29:16 +01:00
Matt (IPv4) Cowley
2b8fde7917
Bundle & code cleanup (#179)
* Use different YAML solution (391 KB -> 197 KB)

* Update all deps

* Code cleanup
2020-10-14 17:12:16 +01:00
Alex Howes
3aba7956ef
Syntax Highlighting for Docker and Yaml (#177)
* Implement dynamic component for docker and yaml prism components. Also removes chunk limit for lazy-loading.

* Fix eslint with babel-eslint and remove unusued LimitChunkCount plugin.
2020-10-14 15:49:53 +01:00
Alex Howes
40aed64034
Fix HTTP to HTTPS redirects for letsencrypt and subdomains (#178)
* Fix HTTP to HTTPS redirects for letsencrypt and subdomains

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

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-13 09:49:23 +01:00
Alessandro Manno
02e72a7003
Added docker compose generator if docker is enabled (#175)
* Added docker compose generator if docker is enabled

* Fixed version to 3.3

* fixed name in to_yaml.js

* Apply suggestions from code review

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-09 17:52:22 +01:00
Niklas Dahmen
4306666e82
Only include pid when set (#173)
* Now pid is only showing up inside of the nginx config whenever it is set.

Signed-off-by: Niklas Dahmen <n@ni-da.de>

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-08 15:46:08 +01:00
Alessandro Manno
150b42c304
Added nginx dockerfile generator (#171)
* Added nginx dockerfile generator

* Applied requested changes

* Update src/nginxconfig/generators/to_conf.js

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

* Update src/nginxconfig/generators/to_conf.js

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

* Update src/nginxconfig/templates/global_sections/docker.vue

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

* Update src/nginxconfig/i18n/en/common.js

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

* Update src/nginxconfig/i18n/en/templates/global_sections/docker.js

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-08 15:43:07 +01:00
Alessandro Manno
956e504d63
Typo (Drupal -> Magento) (#170) 2020-09-26 11:27:28 +01:00
Matt (IPv4) Cowley
958f67c802
Dedicated test workflow to run on PRs (#172) 2020-09-26 11:10:44 +01:00
Mikhail Solovev
446775978f
PHP-FPM Option w/o version (#166) 2020-09-15 11:06:45 +01:00
Matt (IPv4) Cowley
104a718c05
Update deps (#164)
* Update deps

* Further dep updates
2020-09-07 21:00:36 +01:00
Alessandro Manno
f17922adbc
Fixed link (#163) 2020-08-17 19:34:53 +01:00
Raven Douglas
65f72af93e
Update README & Brand Assets (#161)
* Update to banner image

* Brand and link updates

* Update README.md

* Add files via upload

* Delete github.png

* Update README.md
2020-07-28 10:00:25 +01:00
MattIPv4
15b2906128 Add missing server_name rule to HTTP redirect block (fixes #160) 2020-07-23 16:40:51 +01:00
MattIPv4
989d2b257d Try sending directly to the analytics tracker? 2020-07-20 17:58:27 +01:00
MattIPv4
2dce7a956f Only use analytics.js, not gtag.js 2020-07-17 16:25:00 +01:00
MattIPv4
7976e0a14e Update our deps 2020-07-17 16:21:21 +01:00
MattIPv4
07673ce319 Gracefully handle diff errors 2020-07-14 16:49:34 +01:00
MattIPv4
a9cb3e54f6 Analytics for global reset/remove 2020-07-14 16:41:55 +01:00
MattIPv4
da9fddac06 Fix wrapping on checkbox labels 2020-07-14 16:27:27 +01:00
MattIPv4
df440ddc79 Some more analytics logic 2020-07-14 16:14:29 +01:00
MattIPv4
8181a4def1 Add GA event for split column mode 2020-07-13 18:02:10 +01:00
MattIPv4
b9dd381d62 Improve HSTS wording + disable preload by default (fixes #158) 2020-07-10 11:21:34 +01:00
MattIPv4
a66db340f4 Use files-diff for diffing 2020-06-26 18:00:03 +01:00
MattIPv4
010da3fda6 Bump deps 2020-06-25 17:15:42 +01:00
MattIPv4
678682c093 Move to using memory-tar-create 2020-06-25 17:10:58 +01:00
MattIPv4
c193cabb0d Bump dependencies 2020-06-21 15:59:11 +01:00
MattIPv4
97ccb98ef8 Provide an option for LE cert dir (fixes #156) 2020-06-21 15:52:07 +01:00
MattIPv4
0f4c53b5ac Fix PHP upstream with no backup (fixes #155) 2020-06-21 15:40:27 +01:00
MattIPv4
824b0312fd Fix copy base64 link on download tab 2020-06-18 17:37:17 +01:00
MattIPv4
9e54885d17 Update base4 command to use tee (fixes #153) 2020-06-18 17:37:17 +01:00
MattIPv4
88a4929d36 Fix period escapes 2020-06-16 16:56:28 +01:00
Alexandre Dias
73c9bd8174
Add more rules to Drupal conf (#146)
* add more rules - Drupal

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

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

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

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

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

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

* fix rewrite when we can use try_files

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

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-06-16 16:52:51 +01:00
MattIPv4
13b5220b93 Add global reverse proxy timeout settings (fixes #74) 2020-06-11 15:49:30 +01:00
MattIPv4
0c61f2a87a Fix Node.js preset leaving PHP is a bugged state 2020-06-11 15:49:30 +01:00
MattIPv4
e4f219a286 Don't use duplicated computed value for nginx dir, watch initial value 2020-06-11 15:49:25 +01:00
MattIPv4
16a860f5ca Move generic PHP location block after specific rules (fixes #112) 2020-06-11 14:56:05 +01:00
MattIPv4
6aa05d6cd1 Missing 'location' in WordPress (fixes #152) 2020-06-11 14:38:41 +01:00
MattIPv4
f612c5d0ed Include LE in main server block if not forcing HTTPS 2020-06-10 21:07:26 +01:00
MattIPv4
a232fc309d Updated custom footer 2020-06-09 21:09:17 +01:00
MattIPv4
ea988b009c Mobile compat tweaks 2020-06-09 20:26:42 +01:00
MattIPv4
6cfaf24d00 Make entire presets header the collapse click target 2020-06-09 17:02:05 +01:00
MattIPv4
5502c8c6bb Fix updating URL when no query params 2020-06-09 16:54:12 +01:00
MattIPv4
95bad7b943 Diff file names 2020-06-09 16:02:46 +01:00