Files
Reverse_proxy_Nginx/conf.d/octoprint.tryton.geeraert.eu.conf
T
2024-06-19 13:48:53 +01:00

18 lines
356 B
Plaintext

upstream octoprint_backend {
server 192.168.1.28:5000;
server 1.1.1.1 backup;
}
server {
server_name octoprint.tryton.geeraert.eu www.octoprint.tryton.geeraert.eu;
location / {
proxy_pass http://octoprint_backend;
}
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
listen 80 ;
}