nginx/miom: init miom.space website #116

Merged
b12f merged 2 commits from feat/miom.space into main 2024-02-25 21:42:04 +00:00
Showing only changes of commit de04556191 - Show all commits

View file

@ -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";