add tempaltes

This commit is contained in:
Roland Schneider 2023-10-10 19:09:49 +00:00
parent 03f79b2d9f
commit 495afbdc3a
5 changed files with 23 additions and 4 deletions

View File

@ -0,0 +1,16 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name mynginx1.rschneider.hu;
ssl_certificate /etc/nginx/ssl/live/mynginx1.rschneider.hu/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/live/mynginx1.rschneider.hu/privkey.pem;
location / {
proxy_pass http://${nuc}:5050;
proxy_set_header Host $host;
}
}

View File

@ -9,7 +9,7 @@ server {
ssl_certificate_key /etc/nginx/ssl/live/nextcloud.rschneider.hu/privkey.pem;
location / {
proxy_pass http://rocho02.ddns.net:3680;
proxy_pass http://rocho02.ddns.net:5050;
}
}

View File

@ -9,7 +9,8 @@ server {
ssl_certificate_key /etc/nginx/ssl/live/nextcloud.rschneider.hu/privkey.pem;
location / {
proxy_pass http://46.251.21.47:3680;
proxy_pass http://46.251.21.47:5050;
proxy_set_header Host $host;
}
}

View File

@ -1,3 +1,4 @@
stream{
upstream nuc-ssh {
server 46.251.21.47:2022;
}
@ -7,4 +8,4 @@ server {
server_name ssh.nuc.rschneider.hu
proxy_pass nuc-ssh;
}
}

View File

@ -9,7 +9,8 @@ server {
ssl_certificate_key /etc/nginx/ssl/live/nextcloud.rschneider.hu/privkey.pem;
location / {
proxy_pass http://${nuc}:3680;
proxy_pass http://${nuc}:5050;
proxy_set_header Host $host;
}
}