hacdc-klipper/config/nginx/mainsail-proxy.conf

14 lines
450 B
Plaintext
Raw Normal View History

2024-08-06 17:48:45 +00:00
# location ~ ^/PRINTERNAMELC/(.*) {
# proxy_pass http://127.0.0.1:PORT/$1;
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection $connection_upgrade;
# proxy_set_header Host $host;
# proxy_buffering off;
# proxy_read_timeout 10800s;
# proxy_send_timeout 10800s;
# proxy_connect_timeout 30s;
# }
location ~ ^/PRINTERNAMELC/(.*) {
return 301 $scheme://$host:PORT/$1;
}