nginx/sites/pve
2023-04-01 04:18:56 +00:00

16 lines
355 B
Plaintext

server {
listen 80;
server_name pve.tronnet.net;
rewrite ^(.*) https://$host$1 permanent;
}
server {
listen 443 ssl http2;
server_name pve.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf;
location / {
proxy_pass https://geigatron-0-pve.tn:8006;
include /etc/nginx/snippets/proxy-params.conf;
}
}