add tempaltes
This commit is contained in:
parent
03f79b2d9f
commit
495afbdc3a
16
mynginx1.rschneider.hu.conf.template
Normal file
16
mynginx1.rschneider.hu.conf.template
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user