Added
(domains '("calebh.top" "dav.calebh.top"))
Selected messages from reconfigure:
nginx: configuration file /gnu/store/6w25jm2zkgxnhq0yld9mrb6n1hyvvrgp-nginx.conf test failed
WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete'
Contents of nginx.conf:
user nginx nginx;
pid /var/run/nginx/pid;
error_log /var/log/nginx/error.log error;
events { }
http {
client_body_temp_path /var/run/nginx/client_body_temp;
proxy_temp_path /var/run/nginx/proxy_temp;
fastcgi_temp_path /var/run/nginx/fastcgi_temp;
uwsgi_temp_path /var/run/nginx/uwsgi_temp;
scgi_temp_path /var/run/nginx/scgi_temp;
access_log /var/log/nginx/access.log combined;
include /gnu/store/n9d49whvb6fxjhx5nzkk9jch9bkbphsz-nginx-1.28.0/share/nginx/conf/mime.types;
server {
listen 443 ssl;
server_name calebh.top ;
ssl_certificate /etc/letsencrypt/live/calebh.top/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/calebh.top/privkey.pem;
root /srv/http/calebh.top;
index index.html ;
server_tokens off;
}
server {
listen 80;
listen [::]:80;
server_name calebh.top dav.calebh.top ;
root /srv/http;
index index.html ;
server_tokens off;
location /.well-known {
root /var/www;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name dav.calebh.top ;
ssl_certificate /etc/letsencrypt/live/calebh.top/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/calebh.top/privkey.pem;
root /srv/http;
index index.html ;
server_tokens off;
location / {
proxy_pass
http://127.0.0.1:5232/;
proxy_pass_header
Authorization;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-
For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-
Proto $scheme;
proxy_set_header X-Script-Name
"";
}
}
}