V1
This commit is contained in:
parent
164e33e976
commit
9877dd0bb8
1 changed files with 37 additions and 0 deletions
37
Conf/Proxmox.conf
Normal file
37
Conf/Proxmox.conf
Normal file
|
@ -0,0 +1,37 @@
|
|||
server {
|
||||
listen 8005 ssl;
|
||||
server_name pve-sto.nazuna.ovh;
|
||||
|
||||
ssl_certificate /root/certs/pve-sto/cert.pem;
|
||||
ssl_certificate_key /root/certs/pve-sto/key.pem;
|
||||
|
||||
location /sto {
|
||||
proxy_pass https://192.168.2.179:8006;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /main {
|
||||
proxy_pass https://192.168.2.178:8006;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /pbs {
|
||||
proxy_pass https://192.168.2.180:8007;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
proxy_set_header Upgrade $http_upgrade; # Handle WebSocket upgrade
|
||||
proxy_set_header Connection 'upgrade'; # Ensure the connection is upgraded
|
||||
proxy_read_timeout 3600; # Extend timeout for long-running WebSockets
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue