Commit Graph

40 Commits

Author SHA1 Message Date
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
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
MattIPv4
15b2906128 Add missing server_name rule to HTTP redirect block (fixes #160) 2020-07-23 16:40:51 +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
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
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
a9b69fd6f5 Centralise query string generation & fallback to hash if too long 2020-06-05 17:21:01 +01:00
MattIPv4
bc04209423 Conf files should be treated as a dict, file names are unique 2020-06-04 14:58:41 +01:00
MattIPv4
7444fa6f77 MIT license 2020-06-04 14:44:30 +01:00
MattIPv4
1d2362023c Add optional quad9 & verisign DNS resolvers (cc #80) 2020-06-03 17:20:03 +01:00
MattIPv4
d4c381a9ce Add v6 options for OCSP DNS Resolvers (fixes #97) 2020-06-02 22:05:51 +01:00
MattIPv4
8921cd711f Add rule for wordpress seo plugin (fixes #132) 2020-06-02 17:35:32 +01:00
MattIPv4
594e307d2a Match current behaviour for unified + wordpress 2020-06-02 17:08:28 +01:00
MattIPv4
19cac71df0 Add in all the missing copyright headers 2020-05-28 16:50:03 +01:00
MattIPv4
17261e8bbd Conf diffing?! 2020-05-22 21:17:01 +01:00
MattIPv4
7276767102 Fix whitespace cleanup in confs 2020-05-21 15:42:02 +01:00
MattIPv4
7c12dfc0c2 All the files! 2020-05-20 21:03:03 +01:00
MattIPv4
88d66f415c Start showing more config files! 2020-05-20 18:59:33 +01:00
MattIPv4
7fa39d4bcc Single file config + formatting fixes! 2020-05-20 17:41:24 +01:00
MattIPv4
6a70c53107 Move confs into own dir 2020-05-20 17:22:21 +01:00
MattIPv4
79a49ce40d Finish website conf 2020-05-20 17:21:46 +01:00
MattIPv4
fb31871cbb More website config 2020-05-18 17:35:20 +01:00
MattIPv4
96e72a44bb Some more confs 2020-05-15 20:31:54 +01:00
MattIPv4
b773081e5f Even more confs! 2020-05-15 18:18:52 +01:00
MattIPv4
a65665c2c7 More confs! 2020-05-14 20:36:17 +01:00
MattIPv4
adf4752e1c Some more conf files 2020-05-14 18:01:55 +01:00
MattIPv4
4bd34dab39 Do some cleanup 2020-05-08 20:57:36 +01:00
MattIPv4
c5b2459e9d Roll our own js to conf solution & use kv 2020-05-08 20:53:00 +01:00
MattIPv4
e6db3cea7b Begin making conf files 2020-05-08 17:58:38 +01:00