Aesthetic fixes.

This commit is contained in:
Jonathan Chan 2021-10-23 07:17:11 +02:00
parent 41054ea972
commit cbd3c525c5
3 changed files with 16 additions and 29 deletions

View File

@ -19,10 +19,7 @@ server {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name git.ionathan.ch;
listen 80;
return 404; # managed by Certbot
}
}

View File

@ -20,7 +20,6 @@ server {
ssl_certificate_key /etc/letsencrypt/live/next.ionathan.ch/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
@ -28,10 +27,7 @@ server {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name next.ionathan.ch;
listen 80;
return 404; # managed by Certbot
}
}

View File

@ -1,6 +1,6 @@
upstream freshrss {
server localhost:8080;
keepalive 64;
server localhost:8080;
keepalive 64;
}
server {
@ -25,25 +25,19 @@ server {
proxy_pass_header Authorization;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/next.ionathan.ch/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/next.ionathan.ch/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/next.ionathan.ch/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/next.ionathan.ch/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = rss.ionathan.ch) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = rss.ionathan.ch) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name rss.ionathan.ch;
listen 80;
return 404; # managed by Certbot
}
server_name rss.ionathan.ch;
listen 80;
return 404; # managed by Certbot
}