Robin Gloster
6e12406e30
Revert "nginx: Format the config file"
...
This reverts commit e362a3d5c9
.
See #22883
2017-02-16 22:45:00 +01:00
Franz Pletz
65a1762a9b
nginx module: make acme group overrideable easily
2017-02-08 23:50:59 +01:00
Svein Ove Aas
e362a3d5c9
nginx: Format the config file
2017-02-07 16:19:11 +01:00
Bob van der Linden
d9987f360a
nginx: added serverName option for virtualHosts
...
This allows overriding the `server_name` attribute of virtual
hosts. By doing so it is possible to have multiple virtualHost
definitions that share the same `server_name`. This is useful in
particular when you need a HTTP as well as a HTTPS virtualhost: same
server_name, different port.
2017-01-25 14:55:55 +01:00
tv
de44544ceb
nginx service: use default_server
parameter instead of default
( #21371 )
2016-12-23 11:52:44 +01:00
Felix Richter
d8478c7912
services.nginx: allow startup with ipv6 disabled ( #21360 )
...
currently services.nginx does not start up if `networking.enableIPv6 = false`
the commit changes the nginx behavior to handle this case accordingly.
The commit resolves #21308
2016-12-23 11:49:35 +01:00
Philipp Hausmann
632282300a
nginx service: Add missing port toString conversion ( #20252 )
2016-11-08 13:34:04 +01:00
Robin Gloster
d05d063572
nginx: set correct acme permissions
2016-10-20 11:18:25 +02:00
Franz Pletz
a3ec0f1593
nixos/nginx: reload on acme cert renewal
2016-10-09 12:55:24 +02:00
Wilhelm Schuster
54c5154b90
nginx module: Add option to configure events block
2016-09-26 12:16:53 +02:00
Alexander Ried
e84b803300
security.acme: remove loop when no fallbackHost is given
2016-09-06 17:47:00 +02:00
Robin Gloster
c011aa86ab
nginx module: add index and tryFiles
2016-08-25 23:27:56 +00:00
Robin Gloster
3cf5d5ebed
nginx module: fixup events in config
2016-08-09 17:11:28 +00:00
Robin Gloster
b0b0a45bb1
nginx module: fix cfg.config backwards compatibility
...
fixes #17604
2016-08-09 12:02:21 +00:00
Franz Pletz
c90a43f4c5
nginx module: fix evaluation of root location option
2016-08-01 19:38:10 +02:00
Robin Gloster
a193fecf0e
nginx module: improve statusPage generated code
...
Adds ::1 as allowed host and turns of access_log for the status page.
2016-07-28 11:59:13 +00:00
Robin Gloster
3ccfca7d6b
nginx module: httpConfig backward compatibility
...
Revert httpConfig its old behaviour and make it mutually exclusive to
the new structured configuration. Adds appendHttpConfig to have the
ability to write custom config in the generated http block.
2016-07-28 11:59:13 +00:00
Robin Gloster
511410789b
nginx module: make client_max_body_size configurable
2016-07-28 11:59:13 +00:00
Tristan Helmich
8c61b3af03
nginx: fixed duplicate http declaration
2016-07-28 11:59:13 +00:00
Robin Gloster
91680de317
nginx module: add statusPage option
2016-07-28 11:59:13 +00:00
Robin Gloster
a294ad01b3
nginx module: make recommended settings optional
2016-07-28 11:59:13 +00:00
Robin Gloster
186a8400ed
nginx module: make httpConfig backward compatible
2016-07-28 11:59:13 +00:00
Robin Gloster
5dd7cf964a
nginx module: improve documentation
2016-07-28 11:59:13 +00:00
Franz Pletz
de8008a1b1
nginx module: Enable http2
2016-07-28 11:59:13 +00:00
Franz Pletz
e982aeae6a
nginx module: Add default proxy headers for tomcat
2016-07-28 11:59:13 +00:00
Robin Gloster
3830a890ab
nginx module: add option to make vhost default
2016-07-28 11:59:13 +00:00
Robin Gloster
138945500e
nginx module: implement basic auth
2016-07-28 11:59:13 +00:00
Robin Gloster
ff12ee35b7
nginx module: redirect to same protocol
2016-07-28 11:59:13 +00:00
Robin Gloster
e18f8e8b66
nginx module: turn off basic auth on acme locations
2016-07-28 11:59:13 +00:00
Franz Pletz
4e5c7913e9
nginx module: Add acmeFallbackHost vhost option
2016-07-28 11:59:13 +00:00
Franz Pletz
811f243ce6
nginx module: Add extraConfig for locations
2016-07-28 11:59:13 +00:00
Franz Pletz
d5a097fdb6
nginx module: Don't create acme certs if acme is not enabled
2016-07-28 11:59:13 +00:00
Tristan Helmich
c61157b7e6
nginx module: Add dhParams option
2016-07-28 11:59:13 +00:00
Tristan Helmich
35d76a72ab
nginx module: Add sslCiphers option
2016-07-28 11:59:13 +00:00
Tristan Helmich
8bd1f401bb
nginx module: Add sslProtocols option
2016-07-28 11:59:13 +00:00
Tristan Helmich
900b311a38
nginx module: Fix ACME extraDomains, fix challenge url to not redirect to allow renewals
2016-07-28 11:59:13 +00:00
Tristan Helmich
4676983990
nginx module: Add ACME support for ssl sites
2016-07-28 11:59:13 +00:00
Robin Gloster
f298be9ef4
nginx module: declarative config
2016-07-28 11:58:37 +00:00
Robin Gloster
356c2fe00d
Revert "nginx: Verify that configuration is syntactically correct" ( #17337 )
2016-07-28 13:55:06 +02:00
Robin Lambertz
103805dec5
nginx: Verify that configuration is syntactically correct ( #17208 )
2016-07-27 22:24:08 +02:00
Thomas Strobel
a04a7272aa
Add missing 'type', 'defaultText' and 'literalExample' in module definitions
...
- add missing types in module definitions
- add missing 'defaultText' in module definitions
- wrap example with 'literalExample' where necessary in module definitions
2016-01-17 19:41:23 +01:00
Domen Kožar
ba5919ef3b
nginx: include mimetypes mapping
...
(cherry picked from commit b01eebf021
)
Signed-off-by: Domen Kožar <domen@dev.si>
2015-09-07 14:43:19 +02:00
Domen Kožar
71e67797d6
Revert "reverse_proxy module: helper to run nginx as reverse proxy"
...
This reverts commit e6f0cd336d
.
These modifications are too specific to use cases and shouldn't be part of
nginx module.
2015-09-07 14:18:31 +02:00
Thomas Strobel
e6f0cd336d
reverse_proxy module: helper to run nginx as reverse proxy
2015-08-28 09:33:08 +02:00
Jaka Hudoklin
494d1820e3
nixos/nginx: enable service/config reload
2015-04-25 15:17:06 +02:00
Luca Bruno
cb45b7ec3e
Revert "nixos: Multiple service instances, apply to nginx. See #6784 "
...
This reverts commit 7ef59c4fe2
.
Wrong push! Sorry!
2015-03-18 14:09:24 +00:00
Luca Bruno
7ef59c4fe2
nixos: Multiple service instances, apply to nginx. See #6784
2015-03-18 14:07:29 +00:00
Andrey Arapov
b1b9efdbe1
nginx service improvements
...
Adding Restart, RestartSec, StartLimitInterval to ensure that the service
is started in case if it can't assign (bind) the address as often it takes longer
for the network (e.g. dhcpcd) to get the IP assigned.
2015-01-19 10:46:45 +01:00
Nikolay Amiantov
d0773dae54
nixos/nginx: add more types
2014-12-10 04:45:10 +03:00
Mathijs Kwik
a97bef3e8c
nixos/nginx: fix group and stateDir permissions
...
furthermore, I don't think adding nginx to systemPackages is of any use.
2014-06-16 22:43:58 +02:00