forked from pub-solar/infra
nginx/miom: disable logging
This commit is contained in:
parent
0e89b7f210
commit
de04556191
|
@ -9,6 +9,12 @@
|
||||||
"www.miom.space" = {
|
"www.miom.space" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
error_log /dev/null;
|
||||||
|
access_log /dev/null;
|
||||||
|
'';
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
return 301 https://miom.space$request_uri;
|
return 301 https://miom.space$request_uri;
|
||||||
|
@ -21,6 +27,11 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
error_log /dev/null;
|
||||||
|
access_log /dev/null;
|
||||||
|
'';
|
||||||
|
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
root = "/srv/www/miom.space";
|
root = "/srv/www/miom.space";
|
||||||
|
|
Loading…
Reference in a new issue