nginx/pub.solar: disable logging for homepage
All checks were successful
Flake checks / Check (pull_request) Successful in 4m46s
All checks were successful
Flake checks / Check (pull_request) Successful in 4m46s
This commit is contained in:
parent
50fa98eebb
commit
d805e8f7d9
|
@ -9,6 +9,12 @@
|
|||
"www.pub.solar" = {
|
||||
enableACME = true;
|
||||
addSSL = true;
|
||||
|
||||
extraConfig = ''
|
||||
ErrorLog /dev/null
|
||||
CustomLog /dev/null common
|
||||
'';
|
||||
|
||||
locations."/" = {
|
||||
extraConfig = ''
|
||||
return 301 https://pub.solar$request_uri;
|
||||
|
@ -21,6 +27,11 @@
|
|||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
extraConfig = ''
|
||||
ErrorLog /dev/null
|
||||
CustomLog /dev/null common
|
||||
'';
|
||||
|
||||
locations = {
|
||||
# serve base domain pub.solar for mastodon.pub.solar
|
||||
# https://masto.host/mastodon-usernames-different-from-the-domain-used-for-installation/
|
||||
|
|
Loading…
Reference in a new issue