new dns names and certs, refactor

This commit is contained in:
2025-02-05 11:59:21 +00:00
parent a3c9c0ffd3
commit ed22980933
7 changed files with 9 additions and 49 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,29 +1,28 @@
server {
server_name gitea.skazochnik.spb.ru;
server_name gitea.maksim-pankov.ru;
location / {
proxy_pass http://localhost:3005/;
client_max_body_size 0;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/gitea.skazochnik.spb.ru/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/gitea.skazochnik.spb.ru/privkey.pem; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/gitea.maksim-pankov.ru/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/gitea.maksim-pankov.ru/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 = gitea.skazochnik.spb.ru) {
if ($host = gitea.maksim-pankov.ru) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name gitea.skazochnik.spb.ru;
server_name gitea.maksim-pankov.ru;
listen 80;
return 404; # managed by Certbot
}
}

View File

@@ -1,10 +0,0 @@
server {
server_name photos.skazochnik.spb.ru;
listen 443 ssl;
location / {
proxy_pass http://localhost:7780/;
}
ssl_certificate /etc/letsencrypt/live/photos.skazochnik.spb.ru/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/photos.skazochnik.spb.ru/privkey.pem; # managed by Certbot
}

View File

@@ -1,12 +0,0 @@
server {
listen 443 ssl;
server_name podcast.skazochnik.spb.ru;
location / {
root /var/www/podcast;
index index.html index.htm;
add_header "Access-Control-Allow-Origin" "https://mc.yandex.ru,https://yandex.ru";
}
ssl_certificate /etc/letsencrypt/live/podcast.skazochnik.spb.ru/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/podcast.skazochnik.spb.ru/privkey.pem; # managed by Certbot
}

View File

@@ -1,11 +0,0 @@
server {
listen 443 ssl;
server_name portainer.skazochnik.spb.ru;
location / {
proxy_pass http://localhost:8077;
}
ssl_certificate /etc/letsencrypt/live/portainer.skazochnik.spb.ru/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/portainer.skazochnik.spb.ru/privkey.pem; # managed by Certbot
}

View File

@@ -50,7 +50,7 @@
"rpc-enabled": true,
"rpc-host-whitelist": "",
"rpc-host-whitelist-enabled": false,
"rpc-password": "{def05d3bb06111dff02ca306d9f92e5da4bc5e62EfULPoIa",
"rpc-password": "{9b5405e29e6196660e0b6d22b5c1ddeed66c89eb/dbq/qfy",
"rpc-port": 9091,
"rpc-socket-mode": "0750",
"rpc-url": "/transmission/",