pas sur
This commit is contained in:
parent
778b6e0768
commit
3a6a19d391
1 changed files with 41 additions and 28 deletions
|
@ -17,18 +17,9 @@ server {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_read_timeout 3600;
|
||||
|
||||
# Handle static assets for PBS
|
||||
location /pve2/ {
|
||||
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 configuration for Proxmox VE
|
||||
# Proxy configuration for Proxmox VE (Main)
|
||||
location /main/ {
|
||||
proxy_pass https://192.168.2.178:8006/;
|
||||
proxy_set_header Host $host;
|
||||
|
@ -40,18 +31,9 @@ server {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_read_timeout 3600;
|
||||
|
||||
# Handle static assets for PVE
|
||||
location /pve2/ {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
# Proxy configuration for Proxmox storage
|
||||
# Proxy configuration for Proxmox Storage Node
|
||||
location /sto/ {
|
||||
proxy_pass https://192.168.2.179:8006/;
|
||||
proxy_set_header Host $host;
|
||||
|
@ -63,14 +45,45 @@ server {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_read_timeout 3600;
|
||||
}
|
||||
|
||||
# Handle static assets for storage
|
||||
location /pve2/ {
|
||||
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;
|
||||
}
|
||||
# Proxy configuration for /pve2/ paths
|
||||
location /pve2/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_ssl_verify off;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_read_timeout 3600;
|
||||
}
|
||||
|
||||
location /pve2/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;
|
||||
|
||||
proxy_ssl_verify off;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_read_timeout 3600;
|
||||
}
|
||||
|
||||
location /pve2/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;
|
||||
|
||||
proxy_ssl_verify off;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_read_timeout 3600;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue